#template
from collections import Counter
def inputlist(): return [int(i) for i in input().split()]
#template
N,K,S = inputlist()
ans = []
for i in range(K):
    ans.append(S)
for i in range(N-K):
    ans.append(S-1)
print(*ans)