import sys
input = sys.stdin.readline

N, K, S = (int(i) for i in input().split())  
#a = [int(i) for i in input().split()] 
#e = [[int(i) for i in input().split()] for i in range(n)] 

seq = []
i = 0
for i in range(K):
    seq.append(S)

for j in range(0, N-K):
    seq.append(2*S)

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