using System;
public class Program
{
public static void Main()
for(int x=0; x<=100;x++)
if (x !=0 && x % 3 == 0)
Console.WriteLine(x);
}