Run id: 8202

------Input------
4305
------Answer-----
3
------Your output-----
4