def main():
    N, K, S = map(int, input().split())
    INF = 10 ** 10
    A = [INF] * N
    S = (S + 1) // 2
    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()