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

res = [10**9]*N
if S != 10**9:
    res[0] = S
    for i in range(1, K):
        res[i] = 0
else:
    for i in range(K, N):
        res[i] = 1

print(" ".join(map(str, res)))
