using System.Collections; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; internal class Program { private const long mod = 998244353; public static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var ans = new List(n); int cur = 1 << n; ans.Add(cur); for (int i = n - 2; i >= 0; i--) { cur -= (1 << i); ans.Add(cur); } ans.Reverse(); Console.WriteLine(String.Join(" ",ans)); } public static List mkar(int n, int val) { List res = new List(n); for(int i=0;i