The Hamming distance dH(v,u) between two n-dimensional vectors v=(v1,…,vn) and u=(u1,…,un) is the number of positions at which the corresponding entries differ.
dH(v,u)=∣{i:vi=ui,i∈{1,…,n}}∣
For example, the Hamming distance between (1,2,3,4,5) and (1,0,0,4,5) is 2. The two vectors differ only at the second position and the third position.
Write a program that computes the Hamming distance between two n-dimensional vectors.
Input
The first line contains the number of test cases T. (T≤100)
Each test case consists of three lines. The first line contains the dimension n of the vectors. (0<n≤50) The second line contains v1,…,vn and the third line contains u1,…,un, separated by spaces. Every entry is an integer between 0 and 99, inclusive.
Output
For each test case, print the Hamming distance between (v1,…,vn) and (u1,…,un), one per line.