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

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