N, K, S = map(int, input().split())
if S % 2 == 0:
    A = [int(S / 2)] * (K + 1)
    for i in range(N - len(A)): A.append(100000000)
    print(*A)
else:
    A = [int(S / 2), int(S / 2) + 1] * int(K / 2)
    A.append(int(S / 2))
    for i in range(N - len(A)): A.append(100000000)
    print(*A)
