# encoding:utf-8



input = list(map(int, input().split()))

a = input[0]

b = input[1]

c = input[2]



if a < b and b < c:

	print("Yes")

else:

	print("No")
# encoding:utf-8



input = list(map(int, input().split()))

a, b, c = input



if a < b and b < c:

	print("Yes")

else:

	print("No")
# encoding:utf-8
input = list(map(int, input().split()))
a = input[0]
b = input[1]
c = input[2]
if a < b and b < c:
    print("Yes")
else:
    print("No")

# encoding:utf-8
input = list(map(int, input().split()))
a, b, c = input
if a < b and b < c:
    print("Yes")
else:
    print("No")

-a = input[0] -b = input[1] -c = input[2] +a, b, c = input