n = 1024 while n > 0: print (n) n //= 2