N, K, S = map(int, input().split())
tmp = [0]
for i in range(K):
    tmp.append(tmp[-1] + S)
for i in range(N - K):
    tmp.append(tmp[-1] + S + 1)

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

print(*ans)
