# coding: utf-8
import math


def main():
    inputs_list = input().split()
    N = int(inputs_list[0])
    K = int(inputs_list[1])
    S = int(inputs_list[2])

    ans = []
    if S % 2 == 0:
        for i in range(K + 1):
            ans.append(int(S/2))
        for i in range(N - (K + 1)):
            ans.append(int(S/2)-1)
    else:
        a = math.floor(S/2)
        b = S - a
        for i in range(K + 1):
            if i % 2 == 0:
                ans.append(a)
            else:
                ans.append(b)
        for i in range(N - (K + 1)):
            ans.append(b-a)

    print(' '.join(map(str, ans)))


if __name__ == '__main__':
    main()
