Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

EI2021Q13 - DESCENDING

Given a positive integer N (0 ≤ N ≤ 1016). Write a program to check if all digits in N are in descending order?

Input

an integer N (0 ≤ N ≤ 1016)

Output

Write YES if all digits in N are in descending, otherwise write NO

Example

Input:
988765553200

Output:
YES

Input:
765587654321

Output:
NO

Added by:Ha Minh Ngoc
Date:2021-08-25
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: GOSU

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.