Run id: 90782

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