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

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