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