Run id: 149873

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