import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def main():
    n, k, s = MI()
    if s == 10 ** 9:
        print(s, end="")
        for _ in range(k - 1):
            print(" ", end="")
            print(s, end="")
        for _ in range(n - k):
            print(" ", end="")
            print(1, end="")
    else:
        print(s, end="")
        for _ in range(k - 1):
            print(" ", end="")
            print(s, end="")
        for _ in range(n - k):
            print(" ", end="")
            print(s + 1, end="")
    print()

main()
