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

print(" ".join(map(str,ans)))
