N, K, S = map(int, input().split())
if N % 2 == 0:
    A = [S // 2 if i % 2 == 0 else S //2 + 1 for i in range(K)]
    B = [1]
    C = [S - 1 for _ in range(N - K -1)]
    print(A + B + C)
else:
    A = [S // 2 if i % 2 == 0 else S //2 + 1 for i in range(K)]
    B = [S//2]
    C = [S - 1 if S-1 + S//2 != S else S-2 for _ in range(N - K - 1)]
    print(A+B+C)