l,r,n=map(int,input().split()) ANS=(r-l)//n ANSLIST=[ANS]*n for i in range(n): if l+i+ANS*n<=r: ANSLIST[(l+i)%n]+=1 for ans in ANSLIST: print(ans)