n, k, s = map(int, input().split())
o = 10 ** 9
ans = []
if s == 10 ** 9:
    o = 1

for _ in range(k+1):
    ans.append(s)
for _ in range(n-k-1):
    ans.append(o)
    
print(' '.join(map(str, ans)))