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