N,K,S=map(int,input().split())


base=[]

for i in range(N-K):
    base.append(S//(N-K+1))
base.append(S-(N-K)*S//(N-K+1))

for j in range(K-1):
    base.append(base[i%(N-K+1)-1])



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