PP1 Week 2 Conditionals Part 2
Five-digit in order
Five-digit number is given. Determine whether all its digits are in ascending order, starting with the leftmost one. For example, in the number 15689 all digits are arranged in ascending order.
One five-digit number.
Print "YES", if all digits in number are arranged in ascending order, and "NO" otherwise.