n=1024; while(n, print(n); n/=2 );