import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long [] F = {3L,5L,17L,257L,65537L}; long [] m = new long [30]; for(int i=0; i<30; i++){ m[i]=(long)Math.pow(2,i); } ArrayList Fpr = new ArrayList(); Fpr.add(1L); for(int i=0; i<5; i++){ int L=Fpr.size(); for(int j=0; j array = new ArrayList(); for(int i=0; i<30; i++){ for(int j=0; j