N,K,S=[int(x) for x in input().rstrip().split()]

if S%2==0:
    mi=S//2
    ma=S//2
else:
    mi=S//2
    ma=S//2+1
A=[]
cnt=0

for i in range(N):
    if K+1<=cnt:
        A.append(1956)
    else:
        if i%2==0:
            A.append(mi)
        else:
            A.append(ma)
        cnt+=1
        
print(*A)

