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