#include<stdio.h>
#define Max 100000

int main(void){
  int n,id[Max],k[Max],i,j,c[Max];

  scanf("%d",&n);
  for(i=0;i<n;i++){
    scanf("%d%d",&id[i],&k[i]);
    for(j=0;j<k[i];j++){
      scanf("%d",&c[i]);
    }
  }
  return 0;
}

