import sys

a=input().split(" ")
print(float(a[0]) <= float(a[1]))
print(float(a[0]) >= float(a[2]))