Run id: 151580

------Input------
-987654321
------Answer-----
9
------Your output-----
-1