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

res = []
for _ in range(K):
    res.append(str(S))
for _ in range(N - K):
    res.append(str(2 * S))

print(" ".join(res))
# print(
#     " ".join([str(S) for _ in range(K)]), " ".join([str(2 * S) for _ in range(N - K)])
# )
