n,k,s=map(int,input().split())
if s!=10**9:
    ans=""
    for i in range(k):
        ans+=str(s)+" "
    for j in range(n-k):
        ans+=str(s+1)+" "

else:
    ans=""
    for i in range(k):
        ans+=str(s)+" "
    for j in range(n-k):
        ans+=str(s-1)+" "


print(ans)
