from math import * def calc(S): yes = 1 no = -1 for _ in range(60): mid = (yes + no)/2 alpha = asin(mid) s = pi/2 - alpha - sin(2 * alpha)/2 if s <= S: yes = mid else: no = mid return yes R, K = map(int, input().split()) P = [] for i in range(K//2): P.append(calc(pi/(K + 1) * (i + 1))) ans = [] if K % 2: ans.append(0) for p in P: ans.append(p * R) ans.append(-p * R) ans.sort() for a in ans: print(a)