n,k,s = map(int,input().split())
ans = []
for i in range(k):
    ans.append(s)
if s == int(1e9):
    for j in range(n-k):
            ans.append(1)
else:
    for j in range(n-k):
        ans.append(s+1)
print(ans)
