Run id: 99507

------Input------
6404
------Answer-----
8
------Your output-----
6404