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

cnt = 0
arr = [s//2]

if s == 10**9:
    arr = []
    for i in range(k):
        arr.append(s)
    for i in range(k,n):
        arr.append(1)
else:
    for i in range(n-1):
        if cnt < k:
            arr.append(s-arr[-1])
            cnt += 1
        else:
            arr.append(10**9)

ans = ""

for i in range(n-1):
    ans += str(arr[i]) + " "
ans += str(arr[-1])

print(ans)
