import java.util.ArrayList;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int result = 1;
for (int i = 0; i <= a; i++) {
if(i == 0){
System.out.print(result + " ");
continue;
}
result *= 2;
System.out.print(result + " ");
}
}
}
0