l,r,n=map(int,input().split()) u=r%n s=l%n a=[r//n+1-l//n]*n for i in range(n): if iu:a[i]-=1 print(*a,sep="\n")