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

if n==k:
    for i in range(n):
        print(s)
else:
    if s%2==1:
        for i in range(k+1):
            if i%2==0:
                print(s//2)
            else:
                print(s//2+1)
        for i in range(n-k-1):
            print(10**9)
    else:
        for i in range(k+1):
            print(s//2)
        for i in range(n-k-1):
            print(10**9)
