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


huge = 1000000000
if S == huge:
    huge -= 2
    
A = [huge] * N

if K == 1:
    A[0] = S
else:
    A[0] = 1
    
    for i in range(1,N):
        A[i] = S - A[i-1]        
        
        K -= 1
        
        if K == 0:
            break
        
print(A)