N, K, S = map(int, input().split())
ans = []
num = N - K + 1
cnt = 0
for i in range(1, N + 1):
    if i != num:
        ans.append(1)
        cnt += 1
    else:
        ans.append(S - cnt)
        cnt = 0
print(ans)