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