Run id: 102418

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