L,R,N=map(int, input().split()) ALL = (R-L)//N ANS = [ALL]*N R = R - N*ALL for i in range(L,R+1): ANS[i%N] += 1 for i in range(N): print(ANS[i])