Run id: 98645

------Input------
787
------Answer-----
NO
------Your output-----
YES