PROGRAMMING:Tian Ji racing
First of all, let's review the old story of Tian Ji's horse racing
Qi envoys such as Liang, Sun Bin to criminals Yin see, said Qi envoys. Qi Shi thought it strange, and steal with Qi. Qi general Tian Ji was kind and friendly. Avoid number and Qi all childe Chi by re shoot. Sun Tzu saw that his horse's feet were not very far away, and the horse had upper, middle and lower generations. So Sun Tzu said, "if you shoot again, you can win." Tian Ji believed in it and shot thousands of gold with the king and other princes. As for the temporary pledge, Sun Tzu said, "today, I will take the emperor's lower Si and the other's upper Si, take the emperor's upper Si and the other's middle Si, and take the emperor's middle Si and the other's lower Si." After three generations of Chi, Tian Ji was defeated and won again. So I don't want to be a grandson. King Wei asked about the art of war, so he took it as his teacher.
Now the question is:
Tian Ji and the king of Qi each have n horses (n < = 100) in the race. The bet for each race is 200 taels of gold. Now we know the speed of each horse of the king of Qi and Tian Ji, and the king of Qi must come out according to the speed of the horse from fast to slow. Now I want you to write a program to help Tian Ji calculate how many taels of gold he will win in the best result (the loss is expressed as a negative number).
Note: for the sake of simplicity, ensure that the speed of 2n horses are not the same.
###Input format:
The first line of input data is a positive integer T, which represents the number of test data groups. Then there are t groups of test data
There are three lines of test data in each group. The first line is n, indicating the number of horse races participated by both sides. The second line has n positive integers, indicating the speed of Tian Ji's horse. The third line has n positive integers, indicating the speed of Qi Wang's horse
###Output format:
Output a line of data for each group of test data, indicating that the best result of Tian Ji's competition is how many gold medals to win.
###Input example:
```in
three
three
92 83 71
95 87 74
two
21 12
25 20
two
12 11
19 20
```
###Output example:
```out
two hundred
0
-400
```
answer:If there is no answer, please comment
Qi envoys such as Liang, Sun Bin to criminals Yin see, said Qi envoys. Qi Shi thought it strange, and steal with Qi. Qi general Tian Ji was kind and friendly. Avoid number and Qi all childe Chi by re shoot. Sun Tzu saw that his horse's feet were not very far away, and the horse had upper, middle and lower generations. So Sun Tzu said, "if you shoot again, you can win." Tian Ji believed in it and shot thousands of gold with the king and other princes. As for the temporary pledge, Sun Tzu said, "today, I will take the emperor's lower Si and the other's upper Si, take the emperor's upper Si and the other's middle Si, and take the emperor's middle Si and the other's lower Si." After three generations of Chi, Tian Ji was defeated and won again. So I don't want to be a grandson. King Wei asked about the art of war, so he took it as his teacher.
Now the question is:
Tian Ji and the king of Qi each have n horses (n < = 100) in the race. The bet for each race is 200 taels of gold. Now we know the speed of each horse of the king of Qi and Tian Ji, and the king of Qi must come out according to the speed of the horse from fast to slow. Now I want you to write a program to help Tian Ji calculate how many taels of gold he will win in the best result (the loss is expressed as a negative number).
Note: for the sake of simplicity, ensure that the speed of 2n horses are not the same.
###Input format:
The first line of input data is a positive integer T, which represents the number of test data groups. Then there are t groups of test data
There are three lines of test data in each group. The first line is n, indicating the number of horse races participated by both sides. The second line has n positive integers, indicating the speed of Tian Ji's horse. The third line has n positive integers, indicating the speed of Qi Wang's horse
###Output format:
Output a line of data for each group of test data, indicating that the best result of Tian Ji's competition is how many gold medals to win.
###Input example:
```in
three
three
92 83 71
95 87 74
two
21 12
25 20
two
12 11
19 20
```
###Output example:
```out
two hundred
0
-400
```
answer:If there is no answer, please comment