import sys input = sys.stdin.readline def main(): R, K = map(int, input().split()) from math import pi, sin, cos ans = [] if K % 2 == 1: ans.append(0) for t in range(1, K // 2 + 1): goal = 2 * pi / (K + 1) * t low = 0 high = goal + 1 for _ in range(100): mid = (high + low) / 2 if mid - sin(mid) > goal: high = mid else: low = mid tmp = R * cos(low / 2) ans.append(tmp) ans.append(-tmp) ans.sort() print(*ans, sep="\n") if __name__ == "__main__": main()