n,k,s = map(int, input().split())

ans = [1] * n
ans[0] = s
if k % 2 == 0:
    i = 1
    while k > 1:
        ans[i], ans[i+1] = 1, s-1
        i += 2
        k -= 1
else:
    for i in range(1,k+1):
        ans[i] = s//2
print(" ".join(map(str, ans)))