function f(s,i,x){for(x=1;x&3&&i;f(" "+s+x+++".",i-1))print(s+x)}f("",readline())