Prof. Pang builds his famous coding team recently. To pursue a gold medal in ICPC, hundreds of pupils join his team. Unfortunately, one of Prof. Pang's students believes that for any integers and , . To disprove this proposition, Prof. Pang writes numbers on a paper and wants you to count how many pairs of numbers () satisfies .
输入格式
The first line contains a single integer () denoting the number of test cases.
For each test case, the first line contains a single integer (). The second line contains integers ().
It is guaranteed that the sum of over all test cases will not exceed .
输出格式
For each test case, print one line containing the answer.