# -*- coding: utf-8 -*-
"""
Created on Sat Jan 18 21:04:22 2020
minsec ""
@author: masat

"""

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

answer = []
for i in range(K):
    answer.append(S)
for i in range(N-K):
    if S >= 10*9:
        S = 0
    else:
        pass
    answer.append(S+1)

print(" ".join(map(str, answer)))
