A, B, C = list(map(int, input().split()))

 

if (C >= A) & (C <= B):

  print("Yes")

else:

  print("No")
A, B, C = list(map(int, input().split()))

 

if C >= A and C <= B:

  print("Yes")

else:

  print("No")
A, B, C = list(map(int, input().split()))
if (C >= A) & (C <= B):
    print("Yes")
else:
    print("No")

A, B, C = list(map(int, input().split()))
if C >= A and C <= B:
    print("Yes")
else:
    print("No")

-if (C >= A) & (C <= B): +if C >= A and C <= B: