n,k,s=map(int,input().split())
a=[1 for i in range(n)]
for i in range(k):
    a[i]=s
for i in range(k,n):
    a[i]+=s
if k==0:
    if s==1:
        a=[2 for i in range(n)]
    else:
        a=[1 for i in range(n)]
      
print(*a)