Run id: 108141

------Input------
2 73 80 80
------Answer-----
80
------Your output-----
152