import java.util.*; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long n = in.nextLong(); // TLE // long m = (long)Math.pow(10, n); // for(long i=1; i<=m; i++) { // if(m % i == 0) System.out.println(i); // } int c = (int)Math.pow(n+1, 2); long[] ans = new long[c]; int index = 0; for(int i=0; i<=n; i++) { long t1 = (long)Math.pow(2,i); for(int j=0; j<=n; j++) { long t2 = (long)Math.pow(5,j); ans[index++] = t1 * t2; } } Arrays.sort(ans); for(int i=0; i