x = input().split(' ')

a = int(x[0])

b = int(x[1])

c = int(x[2])



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')
x = input().split(" ")
a = int(x[0])
b = int(x[1])
c = int(x[2])
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")

-x = input().split(" ") -a = int(x[0]) -b = int(x[1]) -c = int(x[2]) +(a, b, c) = input().rstrip().split() +a = int(a) +b = int(b) +c = int(c)