import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); sc.close(); int[] a = new int[n + 1]; a[0] = 1 << (n - 1); for (int i = 1; i <= n; i++) { a[i] = a[0] + (1 << (i - 1)); } StringBuilder sb = new StringBuilder(); for (int i = 1; i <= n; i++) { sb.append(a[i]).append(' '); } sb.deleteCharAt(sb.length() - 1); System.out.println(sb.toString()); // for (int i = 1; i < n; i++) { // System.out.println(lcm(a[i], a[i + 1])); // } } static long lcm(long a, long b) { BigInteger ba = BigInteger.valueOf(a); BigInteger bb = BigInteger.valueOf(b); return ba.multiply(bb).divide(ba.gcd(bb)).longValue(); } }