Ant and Ant-eater have got two arrays, each consisting of to ’s permutation. They want to play a game, the goal of the game is making the arrays similar. In each turn one can remove a single integer from his array. If both play optimally, find out the minimum number of turns it takes to finish the game.
The first line of input shows the number of test cases . Each test case will contain 3 lines. The first line contains a single integer indicating the length of permutations.
Second and third line each will contain space separated integers indicating the numbers in permutations A and B respectively.
For each test case, print a single integer in a line, the minimal number of turns to finish the game.
First test case: