import java.util.*; import java.io.*; public class C_matsu{ public static void main(String args[]) throws IOException{ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for(int i=0;i