Run id: 129352

------Input------
22222
------Answer-----
10
------Your output-----
246