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


if s == 1:
    b = 1
else:
    b = -1

a = [0 for i in range(n)]

for i in range(n):
    if i < k:
        a[i] = s
    else:
        a[i] = s - b

print(" ".join(map(str,a)))