import java.util.Scanner;
public class tole
{
public static void main(String[]args)
{
Scanner s=new Scanner (System.in);
System.out.println("????");
int input=s.nextInt();
int res=1;
for(int i =1;i<=input;i++)
{
res=res*2;
System.out.print(res+" ");
}
}
}