Run id: 123963

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