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