Run id: 6048

------Input------
5400
------Answer-----
8
------Your output-----
4195087