📅  最后修改于: 2022-03-11 14:45:21.193000             🧑  作者: Mango
n = list(map(int, input().split())) #assign list values from input
if sorted(n) == n: #for descending, use sorted(n, reverse=True)
print("Yes")
else:
print("No")
#Hope this helps:)