Run id: 98647

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