#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int a[10] = {0};
int N;
scanf("%d", &N);
a[0] = N ;
for (int i = 1; i <10; i ++) a[i] = a[i - 1] * 2;
for (int i = 0; i < 10 ; i ++) printf("N[%d] = %d\n", i ,a[i]);
}