N,K,S = map(int,input().split())
if K==N:
    A = [S]*N
    print(*A)
    exit()

a = 10**9 if S<10**9 else 10**9-1
A = [a]*N

if K==0:
    print(*A)
    exit()

if S==1:
    for i in range(K):
        A[i] = 1
    print(*A)
    exit()

for i in range(K+1):
    if i%2:
        A[i] = 1
    else:
        A[i] = S-1
print(*A)