i = 1024; while( i > 0 ) { cout ` $i\n`; i = i/2; }