a, b, c = list(map(int, input().split()))

if a < b and b < c:

    print("Yes")

else:

    print("No")
#   ??°???a,b,c?????????????????§???a<b<c??§????????°Yes???????????§???????????°No??¨????????????????????°??????

a, b, c = list(map(int, input().split()))

if a < b < c:

    print("Yes")

else:

    print("No")
a, b, c = list(map(int, input().split()))
if a < b and b < c:
    print("Yes")
else:
    print("No")

#   ??°???a,b,c?????????????????§???a<b<c??§????????°Yes???????????§???????????°No??¨????????????????????°??????
a, b, c = list(map(int, input().split()))
if a < b < c:
    print("Yes")
else:
    print("No")

+#   ??°???a,b,c?????????????????§???a<b<c??§????????°Yes???????????§???????????°No??¨????????????????????°?????? -if a < b and b < c: +if a < b < c: