n,k,s=map(int,input().split())
l=[]
if s%2==0:
  if s>=4:
    for i in range(k):
      print(s//2)
    for i in range(1,s+1):
      if i!=s//2 and (i not in l):
        l.append(i)
        if len(l)==n-k-1:
          l.append(s-sum(l))
          break
    for i in l:
      print(i)
  else:
    for i in range(k):
      print(s//2)
    print(s)
    print(1)
else:
  for i in range(k):
    print(s)
  for i in range(n-k):
    print(s+1)

