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

A=[]
for i in range(K):
    A.append(S*(i+1))
for j in range(K,N):
    A.append(S*(j+1)+(j-K+1))

B=[A[0]]*N
for i in range(1,N):
    B[i]=A[i]-A[i-1]

print(' '.join(list(map(str,B))))