import java.util.ArrayDeque; import java.util.Arrays; import java.util.Scanner; class Main { public static void main(String[] args) { new Main().run(); } void run() { Scanner sc = new Scanner(System.in); int n=sc.nextInt(); int[] C=new int[n]; int c1=0,c2=0,c=0; for(int i=0;i