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

V = [0] * (N + 1)

if K > 0:
    V[1] = S
    K -= 1
else:
    V[1] = S + 1


if S + 1 > 10 ** 9:
    flag = 1
else:
    flag = 0

for i in range(2, N + 1):
    if K > 0:
        V[i] = V[i - 1] + S
        K -= 1
    else:
        if flag:
            V[i] = V[i - 1] + (S - 1)
        else:
            V[i] = V[i - 1] + (S + 1)        

ans = [0] * N
for i in range(N):
    ans[i] = V[i + 1] - V[i]

print(*ans)
