# Keyence 2020 C
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
n,k,s=nm()
# inf=10**10
a=[]
if k==0:
    a+=[0]*n
    print(*a)
    exit()

t=0
cnt=0
for i in range(k):
    t+=i+1
    if t>n:
        cnt=i
        break

if n<t:
    k=cnt
    S=s
    a+=[S//k]*(k-1)
    S-=(S//k)*(k-1)
    a+=[S]
    # for i in range(k,0,-1):
    #     a+=[s//k]*(i)
    #     # if len(a)<
    #     a.append(s)
    # a+=[1]*(n-len(a))
    # print(*a)
    # exit()
    k-=1
    for i in range(k,0,-1):
        a+=[s//k]*(i-1)
        a.append(s-(s//k)*(i-1))
    a+=[s//cnt]*(n-len(a))
    print(*a)
    exit()

for i in range(k,0,-1):
    a+=[1]*(i-1)
    a.append(s-(i-1))
a+=[1]*(n-len(a))
print(*a)
