[N,K,S] = list(map(int,input().split()))
if S != 1:
    output = ""
    for i in range(K):
        output += "{} ".format(S)
    for i in range(N-K):
        output += "1 "
else:
    output = ""
    for i in range(K):
        output += "{} ".format(S)
    for i in range(N-K):
        output += "2 "

print(output[0:-1])