k,x,y=map(float,input().split())
print(k<=x)
print(k>=y)