n, k, s = map(int, input().split())
ans = [0]*n
for i in range(n):
    if i == 0:
        ans[0] = s
    elif i+1 <= k:
        ans[i] = 0
    else:
        ans[i] = 10**9
for i in ans:
    print(i, end=' ')
print()