Run id: 65585

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