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

ans = ''
ans_count = 0
if k % 2 == 1:
  for _ in range(k):
    ans += str(s) + ' '
    ans_count += 1
  while n > ans_count:
    if s == 10000000000:
      ans += str(999999999) + ' '
      ans_count += 1
    else:
      ans += str(10000000000) + ' '
      ans_count += 1
elif k == 0:
  while n > ans_count:
    if (n - ans_count) % 2 == 0:
      if s == 10000000000:
        ans += str(999999999) + ' ' + str(999999999) + ' '
        ans_count += 2
      else:
        ans += str(10000000000) + ' ' + str(10000000000) + ' '
        ans_count += 2
    else:
      if s == 10000000000:
        ans += str(999999999) + ' '
        ans_count += 2
      else:
        ans += str(10000000000) + ' '
        ans_count += 2
else:
  if s % 2 == 0:
    ans += str(s/2) + str(s/2) + ' '
    ans_count += 1
    while k > ans_count:
      ans += str(s/2) + ' '
      ans_count += 1
    while n > ans_count + 1:
      if s == 10000000000:
        ans += str(999999999) + ' '
        ans_count += 1
      else:
        ans += str(10000000000) + ' '
        ans_count += 1
  else:
    ans += str(1) + ' '
    ans += str(s-1) + ' '
    ans_count += 1
    while k > ans_count:
      ans += str(1) + ' '
      ans_count += 1
      if k > ans_count:
        break
      ans += str(s-1) + ' '
      ans_count += 1
    while n > ans_count + 1:
      if s == 10000000000:
        ans += str(999999999) + ' '
        ans_count += 1
      else:
        ans += str(10000000000) + ' '
        ans_count += 1

print(ans)