e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more

096

096

Time limit 1 second
Memory limit 64 MiB
Input example #1
123
Output example #1
YES
Input example #2
477
Output example #2
NO