Run id: 69503

------Input------
12340
------Answer-----
10
------Your output-----
0