n,k,s = map(int, input().split())
if s==1:
    xx = 2
else:
    for i in range(2,s//2):
        if s%i != 0:
            xx = i
            break
ans = [xx]* n
for i in range(k):
    ans[i] = s
print(' '.join(map(str, ans)))