R, K = gets.split.map(&:to_i) def f(c, r) r * r * Math.acos(c / r.to_f) - c * Math.sqrt(r ** 2 - c ** 2) end S = R * R * Math::PI ans = [] (K / 2).times do |i| s = S * (i + 1) / (K + 1) ok = 0 ng = R.to_f loop_cnt = 100 loop_cnt.times do c = (ok + ng) / 2.0 if f(c, R) >= s ok = c else ng = c end end ans << ok ans << -ok end ans << 0 if K.odd? ans.sort! puts ans