n,k,s = map(int,input().split())
a = []
for i in range(k + 1):
    if i % 2 == 0:
        a.append(s - 1)
    else:
        a.append(1)

for i in range(n - k - 1):
    a.append(10 ** 9)

if s == 1:
    a = [1 for _ in range(k)] + [10**9 for _ in range(n-k)]
if s == 10**9:
    a = [10**9 for _ in range(k)] + [10**9-1 for _ in range(n-k)]
print(*a)