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

ans = []
if k % 2 == 1:
  for _ in range(k):
    ans.append(s)
  while n > len(ans):
    if s == 1000000000:
      ans.append(999999999)
    else:
      ans.append(1000000000)
elif k == 0:
  while n > len(ans):
    if s == 1000000000:
      ans.append(999999999)
    else:
      ans.append(1000000000)
else:
  if s % 2 == 0:
    count = 1
    ans.append(s/2)
    ans.append(s/2)
    while n > count:
      ans.append(s/2)
    while n > len(ans):
      if s == 1000000000:
        ans.append(999999999)
      else:
        ans.append(1000000000)
  else:
    count = 1
    ans.append(1)
    ans.append(s-1)
    while n > count:
      ans.append(1)
      if n > count:
        break
      ans.append(s-1)
    while n > len(ans):
      if s == 1000000000:
        ans.append(999999999)
      else:
        ans.append(1000000000)

print(' '.join(map(str, ans)))