N,K,S = map(int,input().split())
ans_list= [0] * N
if S != 10**9:
    for i in range(N):
        if i < K:
            ans_list[i] = S
        else:
            ans_list[i] = 10**9
else:
    for i in range(N):
        if i < K:
            ans_list[i] = S
        else:
            ans_list[i] = 1
print(ans_list)
