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