n, k, s = map(int, input().split())
s1 = str(s)
if k == 0:
    print('1000000000000000' * n)
elif n - k - s <= 0:
    print((s1 + " ") * (k - 1) + '1 ' * (n - k) + str(s - n + k))
else:
    c = 0
    count = 0
    while(n - s > 0):
        if count % 2 == 1:
            count += 1
            n -= 1
            print(str(s), end = ' ')
            continue
        if s - c > 2:
            c += 1
            print('1', end = ' ')
        else:
            print('2', end = ' ')
            c = 0
            count += 1
        n -= 1
    print(str(s - c), end = ' ')
    print(str(s - n + 2) + " " + '1 ' * (n - 2))