Write a program which reads three integers a, b and c, and prints "Yes" if a < b < c, otherwise "No".
a, b, c = [int(i) for i in input().split()]
if a < b and b < c:
    print("YES")
else:
    print("NO")
a, b, c = [int(i) for i in input().split()]
if a < b and b < c:
    print("Yes")
else:
    print("No")