n, k, s = map(int, input().split())
if k == n:
    print(" ".join([str(s) for _ in range(n)]))
    exit()
x = 0
arr = [1]
while True:
    if x == k:
        break
    arr.append(s - arr[-1])
    x += 1
while len(arr) < n:
    arr.append(10 ** 9)

print(" ".join(list(map(str, arr))))
