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

mawari = S // K
mid = S // K + S % K

ans = []

for i in range(K-1):
    ans.append(mawari)

ans.append(mid)

for i in range(K-1):
    ans.append(mawari)

for i in range(N - len(ans)):
    ans.append(10**9-1)

print(*ans)