#設定
import sys
input = sys.stdin.buffer.readline

#ライブラリインポート
from collections import defaultdict

#入力受け取り
def getlist():
	return list(map(int, input().split()))

#処理内容
def main():
	N, K, S = getlist()
	if S >= 10 ** 6:
		ans = [0] * N
		ans[0] = S
		for i in range(K, N):
			ans[i] = 1
		ans = list(map(str, ans))
		print(" ".join(ans))
	else:
		ans = [0] * N
		ans[0] = S
		for i in range(K, N):
			ans[i] = 10 ** 7
		ans = list(map(str, ans))
		print(" ".join(ans))
	


if __name__ == '__main__':
	main()