Run id: 110048

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