a,b,c=list(map(int,input().split()));print((' YNeos'[a<=c<=b::2].strip()))
a,b,c=list(map(int,input().split()));print((['No','Yes'][a<=c<=b]))
a, b, c = list(map(int, input().split()))
print((" YNeos"[a <= c <= b :: 2].strip()))

a, b, c = list(map(int, input().split()))
print((["No", "Yes"][a <= c <= b]))

-print((" YNeos"[a <= c <= b :: 2].strip())) +print((["No", "Yes"][a <= c <= b]))