Run id: 99512

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