N, K, S = [int(v) for v in input().split()]

array = []

if N == K:
    for i in range(N):
        array.append(str(S))
else:


    for i in range(K):
        array.append(str(S))

    while len(array) < N:
        array.append(str(S+1))

print(" ".join(array))