Run id: 101952

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