i=list(map(int,input().split()))
a=i[2]//2
b=i[2]-a
k=i[2]
m=0
an=str(a)+" "
for j in range(i[0]-1):
  if m<i[1]:
    if j%2==0:
      an+=str(b)+" "
      m+=1
    else:
      an+=str(a)+" "
      m+=1
  else:
    an+=str(a+b)+" "
print(an)
