using System;
public class Program
{
public static void Main()
decimal getal=1;
while (getal < 1000)
Console.WriteLine(getal);
getal = getal * 2;
}