import sys
input = sys.stdin.readline

# C - Subarray Sum
n, k, s = map(int, input().split())
arr = [s] * k

for i in range(n - k):
	arr.append(s + 1)

ans = ''

for a in arr:
	ans += str(a) + ' '

print(ans)