Haidora has tubes, and each of them has a diameter a_i. He wants to link these tubes together. Unfortunately, there is a rule for linking tubes. You can link tubes (1 \leq i,j \leq n and i \neq j) with diameters a_i,a_j respectively if and only if |a_i-a_j| \leq 1. Haidora might not be able to link all tubes, so he wants to find the maximum number of tubes that he can link together. Can you find it for Haidora?
The first line contains a single integer (1 \leq t \leq 10000): the number of test cases.
The first line of each test case contains a single integer (1 \le n \le 2000) — the length of array .
The second line of each test case contains separated integers a_1,a_2,..,a_n (1 \le a_1,a_2,..,a_n \le 10^9) — the array .
It is guaranteed that the sum of over all test cases does not exceed .
For each test case, output a single integer: the maximum number of tubes that you can link.
Example 1
In the first test case, we can obtain the maximum number of tubes that we can link by connecting
In the second test case, we can obtain the maximum number of tubes that we can link by connecting
Subtask ( points) : (1 \le a_i \le 2)
Subtask ( points) : No additional constraints