There are oranges. Orange has a weight score and a taste score .
Two people buy all the oranges between them. The first person chooses exactly oranges, and the second person buys all the remaining oranges.
Their satisfaction is the sum of the weight scores of the oranges bought by the first person plus the sum of the taste scores of the oranges bought by the second person.
Find the maximum possible satisfaction.
The input is given in the following format:
For each test case, print the maximum satisfaction on a separate line.
The first line contains the number of test cases . Each case is given in the following format: