N, K, S = map(int, input().split())
base = S // 2
remain = S - 2 * base
C = [base, base + remain]
ANS = [c for c in C]
count = 0
for i in range(K - 1):
    ANS.append(C[count])
    count = (count + 1) % 2

dummy = base + 1
if dummy == remain:
    dummy += 1
for i in range(N - K - 1):
    ANS.append(dummy)
print(' '.join(map(str, ANS)))
