l, r, n = map(int, input().split()) t = r - l + 1 if (m := t % n) == 0: for i in range(n): print(t // n) else: for i in range(l): print(t // n) for i in range(m): print(t // n + 1) for i in range(n - l - m): print(t // n)