The first line contains a single integer T(1≤T≤10), the number of test cases. For each test case:
The first line contains a single integer n (1≤n≤50), denoting the number of laser alarms.
Each of the following n lines contains six integers xi, yi, zi, x'i′, y'i′ and z'i′ (1≤xi,yi,zi,xi′,yi′,zi′≤100), describing a segment that connects (x_i,y_i,z_i)and (x_i',y_i',z_i'). It is guaranteed that the two endpoints of each segment do not coincide.
1
4
1 1 1 1 1 2
1 1 10 1 1 11
1 10 1 1 10 2
10 1 1 10 1 2
3