n,k,s=map(int,input().split())
ans=[]
for i in range(k):
    ans.append(str(s))
if s==1:
    for i in range(n-k):
        ans.append("2")
else:
    for i in range(n-k):
        ans.append("1")
print(' '.join(ans))
