Five-digit in order#8619

Five-digit in order

1 second
128 megabytes
Very easy

Five-digit number is given. Determine whether all its digits are in ascending order, starting with the leftmost one. For example, in the number all digits are arranged in ascending order.

Input

One five-digit natural number .

Output

Print "YES", if all digits in number are arranged in ascending order, and "NO" otherwise.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading