N,K,S = map(int,input().split())
out = ""
if S == 1 or N == K:
  for i in range(N):
    if i == 0:
      out = str(S)
    elif K -i >0:
      out = out + " " + str(S)
    else:
      out = out + " " + str(S + 1)
else:
  for i in range(N):
    if S%2 ==0:
      if i == 0:
        out = str(S//2)
      elif K -i >=0:
        out = out + " " + str(S//2)
      else:
        out = out + " " + str(S//2 + 1)
    else:
      if i == 0:
        out = str(S//2)
      elif i % 2 == 1 and K -i>=0:
        out = out + " " + str(S//2 +1)
      elif i % 2 ==0 and K -i>=0:
        out= out + " " + str(S//2)
      else:
        out = out + " " + str(S//2 +2)
print(out)