def main():
    N, K, S = map(int, input().split())
    MaxN = 10 ** 9
    if S == MaxN:
        A = [1] * N
    elif K == N:
        A = [S] * N
    else:
        A = [MaxN] * N

    S = (S + 1) // 2

    if K != 0 and K != N:
        for i in range(K + 1):
            if i % 2 == 0:
                A[i] = S
            else:
                A[i] = S - 1
    print(" ".join(map(str, A)))


if __name__ == "__main__":
    main()
