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

X = N - K + 1
if S % X == 0:
    a1 = int(S / X)
    a2 = a1
else:
    a1 = int(S // X)
    a2 = S - a1*X
    
A = []
for i in range(1,N+1):
    if i % X == 0:
        A.append(str(a2))
    else:
        A.append(str(a1))
print(" ".join(A))