n,k,s=map(int,input().split())

ans=[1]
cnt=0
for i in range(n-1):
    if cnt<k and i%2==0:
        ans.append(s-1)
        cnt+=1
    elif cnt<k and i%2==1:
        ans.append(1)
        cnt+=1
    else:
        ans.append(10**9+1)
print(*ans)


