import java.util.ArrayList; import java.util.Scanner; public class Wahu { public static void main(String[] args) { Scanner s = new Scanner(System.in); int N = Integer.parseInt(s.nextLine()); ArrayList list = new ArrayList<>(); for(int i=0;i