# coding: utf-8
def main():
    inputs_list = input().split()
    N = int(inputs_list[0])
    K = int(inputs_list[1])
    S = int(inputs_list[2])

    ans = []
    for i in range(K):
        ans.append(S)
    for j in range(N - K):
        if S < 10 ** 9:
            ans.append(1)
        elif S == 10 ** 9:
            ans.append(S + 1)

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


if __name__ == '__main__':
    main()
