N, K, S = map(int,input().split())


output = ""
for i in range(1,N):
    output += str(S)
    output += str(" ")
    if(i >= K):
        output += str("0")
        output += str(" ")

print(output[:-1])