n, k, s = map(int, input().split())
s_len = n - k + 1
result = []
if s == pow(10, 9):
    if k != 0:
        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(pow(10, 9))
else:
    for _ in range(k):
        result.append(s)

    for _ in range(k, n):
        result.append(pow(10, 9))
print(' '.join(map(str, result)))