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