You are given two arrays \(a_1, a_2,\ \dots, a_n\) and \(b_1, b_2,\ \dots, b_n \) where \(n\) is an even number.
Alice and Bob are playing a game on these arrays. In each turn, Alice selects two unused numbers before numbers \(i \) and \(j\) such that \(1 \le i, j \le n\) and \(i \ne j\). Bob selects one of them and this number is denoted as \(x\) and adds \(b_x\) to his score. Alice takes the remaining one, that is denoted as \(y\), and adds \(a_y\) to his scores.
Alice and Bob want to maximize their scores simultaneously. Your task is to determine the difference between their scores after the game. Totally, they have \(\frac{n}{2}\) turns.
In other words, your task is to find the difference between Alice's and Bob's scores after all turns if both sides move optimally
Input format
The sum of \(n\) over all test cases does not exceed 300000.
Output format
For each test case, print a single integer denoting the difference between Alice's and Bob's scores after the game if both players move optimally
The moves of the first test case:
The moves of the second test case:
It can be shown that both players move as optimally as they can and there can be no better outcome.