A ,B ,C = [int(x) for x in input().strip().split(' ')]

if(not C < A and not C > B):

    print('Yes')

else:

    print('No')
s = input().split()

a= int(s[0]) 

b= int(s[1])

c= int(s[2])



if c in range(a,b+1):

    print("Yes")

else:

    print("No")
A, B, C = [int(x) for x in input().strip().split(" ")]
if not C < A and not C > B:
    print("Yes")
else:
    print("No")

s = input().split()
a = int(s[0])
b = int(s[1])
c = int(s[2])
if c in range(a, b + 1):
    print("Yes")
else:
    print("No")

-A, B, C = [int(x) for x in input().strip().split(" ")] -if not C < A and not C > B: +s = input().split() +a = int(s[0]) +b = int(s[1]) +c = int(s[2]) +if c in range(a, b + 1):