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