Run id: 95005

------Input------
6876
------Answer-----
8
------Your output-----
-999026174