n, k, s = map(int, input().split())
result =[]
c = 1

if n == k:
    result = [s for i in range(n)]
elif s == 1:
    result = [1 for i in range(k)]
    rest = [100 for i in range(n-k)]
    result = result + rest
else:
    if s % 2 == 0:
        result = [s//2 for i in range(k+1)]
        rest = [s+1 for i in range(n-k-1)]
        result = result + rest
    else:
        for i in range(k+1):
            if c == 1:
                result.append(s//2)
                c = 0
            elif c == 0 :
                result.append(s//2+1)
                c = 1
        rest = [s+1 for i in range(n-k-1)]
        result = result + rest

print(' '.join(map(str, result)))