import java.util.*; class test{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int item[] = new int [N*3]; int PowerUp = 0; int fourUp = 0; //値の格納 for(int i=0; i