N, K, S = map(int, input().split())

ans = [1] * N

if K == 0:
    ans = [max(S, 10**9-S)] * N
    print(ans)
    exit()

if K == N:
    ans = [S] * N
    print(ans)
    exit()

for i in range(1, N):
    if i <= K:
        ans[i] = S - ans[i-1]
    else:
        ans[i] = S - ans[i-1] + 1
print(*ans)
