Write a program which reads three integers a, b and c, and prints "Yes" if a < b < c, otherwise "No".
#coding:UTF-8
s = input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
if(a<b<c):
    print ("YES")
else:
    print ("NO")
#coding:UTF-8
s = input().split()
a=int(s[0])
b=int(s[1])
c=int(s[2])
if(a<b<c):
    print ("Yes")
else:
    print ("No")