Run id: 122679

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