No submissions yet

Submit your solution to display here.

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

Input

5 10 20 5 30 15

Expected Output

5 30