import sys



data = sys.stdin.readline().strip()

a, b, c = data.split(' ')

a = int(a)

b = int(b)

c = int(c)



if a < b and b < c:

    print('Yes')

else:

    print('No')
data = eval(input())

a, b, c = [int(i) for i in data.split()]



if a < b < c:

    print('Yes')

else:

    print('No')
import sys

data = sys.stdin.readline().strip()
a, b, c = data.split(" ")
a = int(a)
b = int(b)
c = int(c)
if a < b and b < c:
    print("Yes")
else:
    print("No")

data = eval(input())
a, b, c = [int(i) for i in data.split()]
if a < b < c:
    print("Yes")
else:
    print("No")

-import sys - -data = sys.stdin.readline().strip() -a, b, c = data.split(" ") -a = int(a) -b = int(b) -c = int(c) -if a < b and b < c: +data = eval(input()) +a, b, c = [int(i) for i in data.split()] +if a < b < c: