[N,K,S] = list(map(int,input().split()))
if S != 1:
    output = []
    for i in range(K):
        output.append(S)
    for i in range(N-K):
        output.append(1)
else:
    output = []
    for i in range(K):
        output.append(S)
    for i in range(N-K):
        output.append(2)

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