#!python3

iim = lambda: map(int, input().rstrip().split())

def f1(n, num):
    if num == 0:
        return
    for i in range(num-1):
        print(n, end= " ")
    print(n, end="")

def NKS(N, K, S):
    MX = 10**5

    if K == 0:
        kai = MX if S < MX else 1
        for i in range(N):
            yield kai
    elif S < MX:
        for i in range(K):
            yield S
        for i in range(N-K):
            yield MX
    elif S == MX:
        for i in range(K):
            yield MX
        for i in range(N-K):
            yield 1
    else:
        for i in range(1, MX):
            a, b = divmod(S, MX-i)
            if b > 1:
                kai = MX-i
                break
        num = a + 1
        k = K + num - 1
        for i in range(1, k+1):
            if i % num:
                yield kai
            else:
                yield b

        for i in range(N-k):
            yield MX

def resolve():
    N, K, S = iim()

    it = NKS(N, K, S)
    for i in range(N-1):
        print(next(it), end=" ")
    print(next(it))

if __name__ == "__main__":
    resolve()
