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

loop = [None] * (N + 1 - K)
for i in range(N + 1 - K):
    if i == 0:
        loop[i] = S - (N - K) * (S // (N + 1 - K))
    else:
        loop[i] = S // (N + 1 - K)

A= [None] * N
for i in range(N):
    A[i] = loop[i % len(loop)]

print(' '.join(map(str, A)))