n,k,s = map(int,input().split())
ans_l = []
count = 0
for i in range(n):
    if count != k:
        ans_l.append(str(s))
        count += 1
    else:
        ans_l.append(str(s-1))
print(" ".join(ans_l))
