n,k,s=map(int,input().split())
gu=s//2
ki=s-gu
tmp=0
if abs(10**9-s)<abs(1-s):
    if s!=10**9:
        tmp=10**9
    else:
        tmp=1
else :
    if s!=1:
        tmp=1
    else:
        tmp=10**9
if k==0:
    print((str(tmp)+" ")*n)
    exit()
for i in range(n):
    if i==k+1:
        print((str(tmp)+" ")*(n-k-1))
        exit()
    if i%2==0:
        print(gu,end=" ")
    elif i%2==1:
        print(ki,end=" ")