import math
n,k,s=[int(i) for i in input().split()]
ans=""
if(s==1):
    for i in range(n):
        if i>k-1:
            ans+=str(10**9-1)  
        else:
            ans+="1"
        ans+=" "
else:
    a=str(s//2)
    b=str(math.ceil(s/2))
    for i in range(n):
        if i==0:
            ans+=a
        elif i==1:
            ans+=b
        elif i>k:
            if(s==10**9):
                ans+=str(10**9-1)
            else:
                ans+=str(10**9)
        elif i%2==0:
            ans+=a
        elif i%2==1:
            ans+=b
        ans+=" "
print(ans[:-1])