Run id: 1222

------Input------
24 12 88 38
------Answer-----
3
------Your output-----
4