#!python3

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

def resolve():
    N, K, S = iim()
    MX = 10**5
    if S < MX:
        for i in range(K):
            print(S, end=" ")
        for i in range(K, N-1):
            print(MX, end=" ")
        print(MX)
        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):
        print(A[i % k], end=" ")
    for i in range(K+k-1, N-1):
            print(MX, end=" ")
    print(MX)




if __name__ == "__main__":
    resolve()
