main=readLn>>=putStr.(""!) s!0="" s!n=[t++"\n"++(" "++t++".")!(n-1)|i<-[1..3],t<-[s++show i]]>>=id