import sys
input = sys.stdin.readline

# C - Subarray Sum
n, k, s = map(int, input().split())
ans = ''

for i in range(n):
	if i < k:
		ans += str(s) + ' '
	else:
		ans += str(s+1) + ' '

print(ans[:len(ans)-1])