#include<bits/stdc++.h>
#define ll long long
using namespace std;
const int N=4e5+10;
ll n,l,K,a[N][4];
ll b[N];
bool f[N];

int main()
{
 	//freopen("club.in","r",stdin);
 	//freopen("club.out","w",stdout);
 	ios::sync_with_stdio(false);
 	cin.tie(0);
 	cout.tie(0);
 	cin>>l;
 	while(l--)
 	{
 		cin>>k;
 		for(int i=1;i<=K;i++)
 		{
 			for(int j=1;j<=3;j++)
 			{
 				cin>>a[i][j];
				  
			 }
		}
		
	}
	
	return 0;
}

