using System;
public class Program
{
public static void Main()
for (int i = 6; i<=1000; i=i+10)
Console.WriteLine(i);
}