# C - Subarray Sum
N,K,S = map(int, input().split())
A = []
count = 0
if N == 1:
    A.append(S)
    A = [str(a) for a in A]
    A = " ".join(A)
    print(A)
    exit()
else:
    while count < K:
        A.append(S)
        count += 1

    if N - len(A) > 0:
        while len(A) < N:
            A.append(S + 1)
    else:
        pass
    A = [str(a) for a in A]
    A = " ".join(A)
    print(A)