Run id: 115801

------Input------
4311
------Answer-----
1
------Your output-----
3