using System;
public class Program
{
public static void Main()
int n=7;
while(n<1000)
{Console.WriteLine(n);
n+=10;}
}