n, k, s = map(int, input().split())
if k == 0:
    ans = [0 for _ in range(n)]
    print(*ans)
else:
    ans = [s+1 for _ in range(n)]
    ans[0] = s
    for i in range(1, k):
        ans[i] = 0
    print(*ans)
