Run id: 108642

------Input------
37 85 25 78
------Answer-----
12
------Your output-----
5