No submissions yet

Submit your solution to display here.

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

Input

5 10 20 30 40 50 2

Expected Output

Value: 30