Run id: 765

------Input------
10 1 5 25 125
------Answer-----
1953125
------Your output-----
37