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