r,k=map(int,input().split()) from math import pi,sin,asin,cos,acos if k%2: a=[0] for i in range(1,(k+1)//2): u=r d=0 for _ in range(50): m=(u+d)/2 t=asin(m/r) if (r*r*pi*(t/(2*pi))+(1/2)*m*r*sin(pi/2-t))*2>=(r*r*pi/(k+1))*i: u=m else: d=m a+=[-d,d] else: a=[] for i in range(k//2): u=r d=0 for _ in range(50): m=(u+d)/2 t=asin(m/r) if (r*r*pi*(t/(2*pi))+(1/2)*m*r*sin(pi/2-t))*2>=(r*r*pi/(2*(k+1)))*(2*i+1): u=m else: d=m a+=[-d,d] a.sort() print(*a,sep="\n")