N,K,S = map(int,input().split())

ans = [0]*N

if K == 0 and S:
    for i in range(N):
        ans[i] = S+1
elif N == K:
    for i in range(N):
        ans[i] = S
elif S == 0:
    ans [0] = 0
    for i in range(1,N):
        ans[i] = int(1e9-1)
elif S%2 == 0:
    for i in range(0,K+1):
        ans[i] = S//2
    for i in range(K+1,N):
        ans[i] = int(1e9-1)
elif S%2 == 1:
    for i in range(K):
        ans[i] = S
    for i in range(K,N):
        ans[i] = int(1e9-1)
    

print(*ans)