n, k, s = map(int, input().split())
s_len = n - k + 1
result = []
if k != 0:
    if s == pow(10, 9):

            add_num = pow(10, 9) // 2
            result.append(add_num)
            for _ in range(1, k+1):
                result.append(add_num)
            for _ in range(k+1, n):
                result.append(1)

    else:
        for _ in range(k):
            result.append(s)

        for _ in range(k, n):
            result.append(pow(10, 9))
else:
    if not s == pow(10, 9):
        for _ in range(n):
            result.append(s+1)
    else:
        for _ in range(n):
            result.append(1)
print(' '.join(map(str, result)))