A number and an array of different non-negative integers are given. Your task is to count the pairs of elements of the array whose sum is exactly .
Input
The first line contains a single integer - the number of testcases.
- The first line of each testcase contains two integers and - the number of elements and the target sum.
- The next line contains different integers - the elements of the array.
Output
For every testcase print a single line with the number of pairs of different elements whose sum equals .
Example
Input
2 6 7 2 5 4 7 0 6 5 8 1 2 3 4 6
Output
2 1
In the first testcase the pairs are and . In the second testcase the only pair is - note that cannot be paired with itself.
Constraints
This problem was adapted, with permission, from Broj parova datog zbira, authored by Društvo matematičara Srbije and Fondacija Petlja.