Solution for HW 6

Your solution has been tested on the following three sample games

Game 1

2
1 2 3 4 15 5 7 8 9 10

Correct answer for this game is 15, 5.

Game 2

2
1 2 3 4 5 15 7 8 9 10

Correct answer for this game is 9, 10.

Game 3

2
12 1 3 4 5 15 7 8 9 10

Correct answer for this game is 12, 1.