N, K, S = map(int, input().split())
ans = []

if S < 10e9:
    for i in range(N):
        if i < K:
            ans.append(S)
        else:
            ans.append(S+1)
else:
    for i in range(N):
        if i < K:
            ans.append(S)
        else:
            ans.append(1)

print(*ans)