SP17711 SPCJ - Gopu and Create Collections Part Two

Description

Little Gopu likes to play very much. As you know he only plays with numbers. So he is given n numbers. Now he tries to group the numbers into collections where each collection contains exactly two numbers. He can form the collection of two numbers a and b (a

Input Format

T: number of test cases. For each test case, First line will contain n : (1

Output Format

For each test case, output maximum number of collections that can be formed.