using System;
public class Program
{
public static void Main()
int[] n = new int [30];
n[0] = int.Parse(Console.ReadLine());
for (int i = 0; i<=29; i++){
if (i>0){
n[i] = n[i-1] *2;
}
Console.WriteLine(n[i]);