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

ans = []

for i in range(N):
    if i < K:
        ans.append(S)
    else:
        ans.append(1)

ans1 =""
        
for j in range(N):
    ans1 = ans1 + str(ans[j])+" "

ans1 = ans1.rstrip(" ")
    
print(ans1)