import math
import itertools

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

ans = []
if(S < 1000000000):
    for i in range(K):
        ans.append(S)
    for i in range(N-K):
        ans.append(S+1)
else:
    for i in range(K):
        ans.append(S)
    for i in range(N-K):
        ans.append(S-1)
        
text = str(ans[0])
if N > 2:
    for i in range(N-1):
        text = text + ' ' + str(ans[i+1])
print(text)