w=input() d=input() for i in range(d-1): w-=int(float(w)/(d-i)**2) print w