using System;
public class Program
{
public static void Main()
for ( int y=1; y<= 50; y = y+3)
Console.WriteLine(y);
}