Run id: 68389

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