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

if k == 0:
    A = [s+1 for i in range(n)]
else:
    A = [s for i in range(k)]
    if s == 10**9:
        A += [1 for i in range(n-k)]
    else:
        A += [s+1 for i in range(n-k)]

print(*A)
