n, k, s = map(int, input().split())
if s % 2 == 0:
  a = [s//2]*(k+1)+[10**9]*(n-k-1)
if s % 2 == 1:
  if k % 2 == 0:
    a = [s//2, s//2 + 1]*(k//2) +[s//2] +[10**9]*(n-k-1)
  else:
    a = [s//2, s//2 + 1]*(k//2+1) + [10**9]*(n-k-1)
print(*a)