N, K, S=map(int, input().split())
Ans=[]

for i in range(K):
    Ans.append(S)

if S==10**9:
    for i in range(N-K):
        Ans.append(S+1)
    
    for i in range(N-K):
        Ans.append(1)
 
print(Ans)