#coding:UTF-8

import copy



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



if n[0]<n[1]<n[2]:

    print("Yes")

else:

    print("No")
#coding:UTF-8



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



if n[0]<n[1]<n[2]:

    print("Yes")

else:

    print("No")
# coding:UTF-8
import copy

n = list(map(int, input().split()))
if n[0] < n[1] < n[2]:
    print("Yes")
else:
    print("No")

# coding:UTF-8
n = list(map(int, input().split()))
if n[0] < n[1] < n[2]:
    print("Yes")
else:
    print("No")

-import copy -