import sys
# 一定要写等于
k , x ,y = input().split()
if k <= x :
print("True")
else:
print("False")
if k >= y :
print("True")
else:
print("False")

import sys
# 一定要写等于
k , x ,y = input().split()
if k <= x :
print("True")
else:
print("False")
if k >= y :
print("True")
else:
print("False")