No submissions yet

Submit your solution to display here.

Please login/signup to submit your solution.
Loading...

Input

5 10 3 5 2 7 2

Expected Output

3 7