# coding: utf-8
# Your code here!
N,K,S=map(int,input().split())
ans=[]
p=N-K
if p==N:
    for i in range(N):
        ans.append(str(S+1))
else:
    for i in range(N-K):
        ans.append('1')
    for i in range(K):
        ans.append(str(S))

#print(ans)
ans=' '.join(ans)
print(ans)