Run id: 149279

------Input------
5 1 2 4 8
------Answer-----
16
------Your output-----
2