#! coding utf-8

n, k, s = map(int, input().split())

padnum = 10**9 if s is not 10**9 else 1


for i in range(k):
    print(s, end=" ")

for i in range(n-k):
    print(padnum, end=" ")

# # print(h, w, n)
# # print(n//h+1, n//w+1)
# ret = min(ceil(n/h), ceil(n/w))

# print(ret)
