import sys

def main():
    n, k, s = [int(i) for i in raw_input().strip().split()]
    if s > (n - k):
        foo = [1] * (n - k) + [s - (n - k)] + [s] * (k - 1)
    elif n != s:
        foo = [s] * k + [n] * (n - k)
    else:
        while True:
            pass
        # foo = [s + 1] * n
    foo = [str(i) for i in foo]
    sys.stdout.write('%s\n' % ' '.join(foo))

if __name__ == '__main__':
    main()