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