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

huge = 1000000000
if S == huge:
    huge -= 2

A = [huge] * N

if K == 1:
    A[0] = S
else:

    if K != 0:
        A[0] = 1

        for i in range(1, N):
    
            if K == 0:
                break
    
            A[i] = S - A[i - 1]
    
            K -= 1

for i in range(N):
    print(A[i], end=" ")