Run id: 119098

------Input------
6045
------Answer-----
3
------Your output-----
4