using C=System.Console;class P{static void Main(){for(int n;;C.Write(""+n+n*4+n*6+n*4+"1\n"))n=int.Parse(C.ReadLine())/10;}}