using System;
public class Program
{
public static void Main()
int x = 10;
while (x < 50)
{if (x%3 == 0)
{x+=4;
Console.WriteLine(x);
}
else
{x++;