Run id: 100755

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