You are given three integers A, B and C. Determine whether C is not less than A and not greater than B.
a,b,c = list(map(lambda x: int(x), input().split(" ")))

if a<b and b<c:
  print("Yes")
else:
  print("No")
a,b,c = list(map(lambda x: int(x), input().split(" ")))

if a<=c and c<=b:
  print("Yes")
else:
  print("No")