n, k, s = map(int, input().split())
if s % 2 == 0:
    if k + 1 <= n:
        for i in range(k + 1):
            print(s // 2, end=' ')
        for i in range(n - k):
            print(10**9, end=' ')

    else:
        for i in range(n - 1):
            print(0, end=' ')
        print(s)
else:
    if n - k >= 1:
        for i in range(k + 1):
            if i % 2 == 0:
                print(s // 2,end=' ')
            else:
                print(s // 2 + 1,end=' ')
    else:
        for i in range(n - 1):
            print(0, end=' ')
        print(s)
