n, k, s = map(int, input().split())
a = []
cnt = -1
for i in range(n):
  if cnt >= k:
    if s != 10**9:
      a.append(10**9)
    else:
      a.append(10**9-2)
    continue
  if i % 2 == 0:
    a.append(s-1)
  else:
    a.append(1)
  cnt += 1
print(*a)