Run id: 126325

------Input------
6045
------Answer-----
3
------Your output-----
-4033