Run id: 139516

------Input------
302
------Answer-----
62
------Your output-----
239