N,K,S=map(int,input().split())
P=[]
for i in range(N):
    if i<K:
        P.append(S)
    else:
        if S<10**9:
            P.append(S+1)
        else:
            P.append(1)
ans=''
for i in range(N):
    ans=ans+str(P[i])+' '
print(ans)