import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); int n = koko.nextInt(); int[] b = new int[n*3]; int[] item = new int[10]; for(int i=0; i