Run id: 96865

------Input------
6045
------Answer-----
3
------Your output-----
1