#include <stdio.h>
int main() {
int i;
for (i = 2; i <= 512; i *= 2) {
printf("%d\n", i);
}
return 0;