N, K, S = map(int, input().split())
arr = [0] * N
for i in range(N):
    if i % 2:
        arr[i] = S - 1
    else:
        arr[i] = 1
if N - 1 == K:
    print(arr)
else:
    fill_value = 10 ** 5 if S == 10 ** 9 else 10 ** 9
    for i in range(N - 1 - K):
        arr[i] = fill_value
    print(arr)