import sys num_list = [float(n) for n in input().split()] k = num_list[0] x = num_list[1] y = num_list[2] print(k <= x) print(k >= y)