N, K, S = map(int, input().split())

array = [0] * N
if S % 2 == 0:
    for i in range(K+1):
        array[i] = S//2
    print(*array)
else:
    for i in range(0, K+1, 2):
        array[i] = (S-1) //2
        array[i+1] = (S+1)  // 2
    print(*array)