import java.math.BigInteger; import java.util.Scanner; import java.io.PrintWriter; import java.util.ArrayList; public class main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int p=sc.nextInt(); int n; int k; for(int i=0;i