# 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:
    A.append(S // 2)
    if S % 2 == 0:
        while count < K -1:
            A.append(S-A[0])
            count += 1
    else:
        while count < K-1:
            A.append(S - A[0])
            count += 1
            if count != K -1:
                A.append(S // 2)
    if N - len(A) >= 0:
        A.append(S)
        while len(A) < N:
            A.append(S+1)
    else:
        pass

A=[str(a) for a in A]
A=" ".join(A)
print(A)