n,k,s=map(int,input().split())

if s!=10**9:
    ans=""
    p0=str(s)+" "
    p1=str(s+1)+" "
    for i in range(k):
        ans+=p0
    for j in range(n-k):
        ans+=p1

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


print(ans)
