l,r,n = map(int,input().split()) ans = [0]*n f = l%n w = r-l+1 left = w%n for i in range(n): if i < left: ans[(f+i)%n] = w//n+1 else: ans[(f+i)%n] = w//n for i in ans: print(i)