from math import acos, degrees, pi R,K = map(int,input().split()) S = pi*R*R ans = [R] for i in range((K)//2): now = (i+1)*S/(K+1) l = 0 r = R for _ in range(100): y = (r+l)/2 xx = R*R - y*y th = degrees(acos((-xx+y*y)/(R*R))) s = S*th/360 - (pow(xx, 0.5))*y if s <= now: r = y else: l = y ans.append(r) if K % 2 == 1: ans.append(0) new = set() for i in range(1, len(ans)): new.add(ans[i]) new.add(-ans[i]) print(*sorted(list(new)), sep = "\n")