Gugugaga caught fish. The size of the -th fish is . Several fish may have the same size.
Gugugaga wants to distribute all the fish among baskets. If fish of sizes and () are placed in the same basket and , the fish of size is eaten. This also happens when the larger fish is exactly times as large.
For example, when , fish of sizes and cannot share a basket, while fish of sizes and can safely share one.
Find the minimum number of baskets needed to hold all the fish without any fish being eaten. Each fish must be placed in exactly one basket, and there is no limit on the number of fish a basket can hold.
The input is given in the following format.
For each test case, print the minimum number of baskets required on one line.
The first test case contains only one fish, so one basket is enough.
In the second test case, all the fish have the same size. They can safely be placed in one basket.
The fish can be divided into three baskets containing sizes , , and .
The fish of size cannot share a basket with any other fish. The fish of sizes and also cannot share a basket, since the latter is exactly twice as large. Therefore, at least three baskets are required.
The first line contains the number of test cases . Each test case is given in the following format.
The first line of each test case contains the number of fish and the integer , separated by a space.
The second line contains the sizes , separated by spaces.
| 2 | 69 | No additional constraints. |
In the first test case, three baskets containing , , and are sufficient. The fish of sizes , , and must occupy three different baskets, so fewer baskets cannot suffice.
In the second test case, use baskets containing and . The fish of sizes and differ by a factor of exactly , so all three fish cannot share one basket.