import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner kb=new Scanner(System.in); boolean isP=true; int n=kb.nextInt(); int a[]=new int[n]; for(int i=0;i