# -*- coding: utf-8 -*-

[N, K, S] = [int(i) for i in input().split()]

A = []
k_number = K
for n in range(N):
    if k_number > 0:
        A.append(S)
        k_number -= 1
    else:
        A.append(S+1)

for a in A[:N-1]:
    print('{} '.format(a), end='')

print(A[N-1])
