n, k, s = map(int, input().split())
s_len = n - k + 1
first = s - (s_len - 1)
result = []
result.append(first)
for _ in range(1, s_len):
    result.append(1)
for _ in range(s_len, n):
    result.append(first)

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