k,x,y=map(float,input().split())
if k<=x:
    print(True)
else:
    print(False)
if k>=y:
    print(True)
else:
    print(False)