Run id: 100006

------Input------
6 1 2 4 8
------Answer-----
32
------Your output-----
64