n, k, s = map(int, input().split())
ans = ""
for i in range(k):
    ans += str(s) + " "
if s != 10**9:
    for i in range(n - k):
        ans += str(s + 1) + " "
else:
    for i in range(n - k):
        ans += str(s - 1) + " "
print(ans)