SP14930 FARIDA - Princess Farida
Description
Once upon time there was a cute princess called Farida living in a castle with her father, mother and uncle. On the way to the castle there lived many monsters. Each one of them had some gold coins. Although they are monsters they will not hurt. Instead they will give you the gold coins, but if and only if you didn't take any coins from the monster directly before the current one. To marry princess Farida you have to pass all the monsters and collect as many coins as possible. Given the number of gold coins each monster has, calculate the maximum number of coins you can collect on your way to the castle.
### Input
The first line of input contains the number of test cases. Each test case starts with a number N, the number of monsters, 0
Input Format
N/A
Output Format
N/A