import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

n, k, s = map(int, readline().split())
ans = [s] * k + [1] * (n - k)
print(*ans)
