N, K, S=map(int, input().split())
Ans=[]
for i in range(10,100):
    if S%i !=0:
        c=i
        break
sum=0
for i in range(K):
    Ans.append(S)

for i in range(N-K):
    Ans.append(c)
    sum=sum+c

print(Ans)