# import numpy as np
# import math
# import copy
# from collections import deque
import sys
input = sys.stdin.readline
# sys.setrecursionlimit(10000)


def main():
    N,K,S = map(int,input().split())

    A = [S] * K
    if S == 10 ** 9:
        T = S - 1
    else:
        T = S + 1

    for i in range(N-K):
        A.append(T)

    print(A)



main()
