Run id: 122620

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