# -*- coding: utf-8 -*-
N, K, S = map(int, input().split())
a = []
if S != 10**9:
    for i in range(K):
        a.append(S)
    for i in range(N-K):
        a.append(S+1)
else:
    for i in range(K):
        a.append(S)
    for i in range(N-K):
        a.append(S-1)
print(a)
