i = 1024 while i > 0 print i i = floor(i/2) end while