The first line contains an integer $T(1\le T\le 10)$, the number of test cases. Then $T$ cases follow.
For each test case:
In the first line, a integer $n(1\le n\le 100)$, the number of cities in the kingdom.
In the second line, $n$ integers $a_1,a_2,a_3,...,a_n$ separated by space, Tom's sequence.
In the third line, $n$ integers $b_1,b_2,b_3,...,b_n$ separated by space, Jerry's sequence($0\le a_i,b_i\le n$).
The spotted numbers are indicated by $0$.