arsendef pow_even_2(N, k=1): if N < 4: print(0) return k <<= 2 if (k <= N): pow_even_2(N, k) print(k, end=" ") N = int(input()) pow_even_2(N)