def ascan; gets.split.map(&:to_i);end n,k = ascan puts ([(1<<32)-1]+[0]*(k-1))*" "