n,k,s = map(int,input().split())
ans = []
o,e = s//2, -(-s//2)
for i in range(n):
    if n == k:
        ans.append(s)
    else:
        if i <= k:
            if i % 2 == 0:
                ans.append(o)
            else:
                ans.append(e)
        else:
            ans.append(0)
print(*ans)