#%%
n, k, s = map(int, input().split())
ans = []
tmp = 0
for i in range(n):
    if i < k :
        tmp = s
    else:
        if s == 1:
            tmp = 2
        else:
            tmp = 1
    ans.append(str(tmp))
print(' '.join(ans))


