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

A = [0] * N
for i in range(N):
    if i < K:
        A[i] = S
    else:
        if S == 1:
            A[i] = S + 1
        else:
            A[i] = 1

print(" ".join(map(str, A)))