Run id: 135994

------Input------
64 70 75 65 23 100 7
------Answer-----
10000 1000000
------Your output-----
163216 65939264