#!/usr/bin/perl -w

$n = <STDIN>;
chomp $n;

print "\n";

foreach $indice (0..$n)
{
    print "2**$indice = ",2**$indice,"\n";
}
