using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); static int[][] NArr(long n) => Enumerable.Repeat(0, (int)n).Select(_ => NList).ToArray(); public static void Main() { Solve(); } static void Solve() { var n = NN; var a = new long[n]; a[0] = 2; a[1] = 1; for (var i = 2; i < n; ++i) a[i] = 1L << i; WriteLine(string.Join(" ", a)); } }