N = gets.to_i puts N.times.map { |i| 2 ** i }.join(' ')