# coding: utf-8
# Your code here!
N,K,S=map(int,input().split())
ans=[]
p=N-K

for i in range(N-K):
    ans.append(str(S+1))
for i in range(K):
    ans.append(str(S))

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

#print(len(ans))


#print(" ".join([str(n) for n in ans]))
print(*ans)