class F{static void Main(){for(int n=99;n<999;)System.Console.WriteLine(n+=6);}}