#!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 resolve():
    N, K, S = iim()
    MX = 10**5
    MX = 10

    if K == 0:
        f1(N, MX)
        return

    if S < MX:
        f1(S, K)
        if N - K:
            print(" ", end="")
        f1(MX, N-K)
        print()
        return

    for i in range(1, 10**5):
        a, b = divmod(S, MX-i)
        if b: break
    A = [MX-1]*a + [b]
    k = len(A)
    for i in range(K+k-1-1):
        print(A[i % k], end=" ")
    i += 1
    rest = N - (K+k-1)
    print(A[i%k], end=" " if rest else "")
    f1(MX, rest)
    print()




if __name__ == "__main__":
    resolve()
