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() { var n = NN; var p = new List(); for (var i = 5; i < 100; ++i) { if (IsPrime(i)) p.Add(i); if (p.Count == 25) break; } p.Reverse(); for (var i = 0; i < p.Count; ++i) { p[i] = (49 - i * 2) * (1 << i); } WriteLine(string.Join(" ", p.Take(n))); // var lcm = new List(); // for (var i = 0; i + 1 < p.Count; ++i) lcm.Add(LCM(p[i], p[i + 1])); // WriteLine(string.Join(" ", lcm)); // for (var i = 0; i + 1 < lcm.Count; ++i) if (lcm[i] >= lcm[i + 1]) WriteLine("!!!"); } static bool IsPrime(int n) { if (n == 1) return false; if (n == 2) return true; if (n % 2 == 0) return false; int i = 3; while (i * i <= n) { if (n % i == 0) return false; i = i + 2; } return true; } }