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