Given an array, the task is to find maximum triplet sum in the array.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case consists of two lines. First line of each test case contains an Integer N denoting size of array and the second line contains N space separated elements.
Output: For each test case, print the maximum triplet sum in new line.