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

A = [S for i in range(K)] + [(int(10e9) if S != int(10e9) else 1)
                             for i in range(N - K)]

for i in range(N):
    if i > 0:
        print(' ', end='')
    print(A[i], end='')
