n, k, s = map(int, input().split())
if s != 10**9:
  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)
else:
  if k % 2 == 0:
    a =[10**9,1]*k//2:
  else:
    a =[10**9,1]*k//2 + [10**9]
print(*a)