(a, b, c) = input().rstrip().split(' ')

a = int(a)

b = int(b)

c = int(c)

 

if a < b < c:

    print('Yes')

else:

    print('No')
a, b, c = list(map(int, input().split()))

if a<b<c:

	print("Yes")

else:

	print("No")
(a, b, c) = input().rstrip().split(" ")
a = int(a)
b = int(b)
c = int(c)
if a < b < c:
    print("Yes")
else:
    print("No")

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

-(a, b, c) = input().rstrip().split(" ") -a = int(a) -b = int(b) -c = int(c) +a, b, c = list(map(int, input().split()))