import math
n,k,s=[int(i) for i in input().split()]
ans=""
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:
        ans+=str(10**9+10)
    elif i%2==0:
        ans+=a
    elif i%2==1:
        ans+=b
    ans+=" "
print(ans[:-1])