using System;
public class Program
{
public static void Main()
Console.WriteLine("for:");
for(int i=2;i<= 44; i=i+2){
Console.Write("{0} ",i);
}
Console.WriteLine("\nwhile:");
int j = 2;
while (j <= 44){
Console.Write("{0} ",j);
j = j+2;
Console.WriteLine("\ndo-while:");
int k = 2;
do{
Console.Write("{0} ",k);
k = k+2;
}while (k <= 44);