l, r, n = map(int, input().split()) ans = [] all_num = r - l + 1 num = all_num // n ans = [num] * n left = l % n right = r % n if left == right: ans[left] += 1 if n == 1: ans[left] -= 1 print(*ans, sep='\n')