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