n, k, s = map(int, input().split())
F = 1000000000
A = []
if s == F:
    for i in range(k):
        A.append(s)
    for i in range(n-k):
        A.append(1)
else:
    for i in range(k):
        A.append(s)
    for i in range(n-k):
        A.append(s+1)

print(A)