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

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

A = [huge] * N

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

    if S == 1:

        for i in range(N):

            if K == 0:
                break
            A[i] = 1

            K -= 1

    elif S == 1000000000:

        for i in range(N):

            if K == 0:
                break
            A[i] = 1000000000

            K -= 1

    else:
        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=" ")