n,k,s = gets.chomp.split(" ").map(&:to_i);

a = []
ans = ""
if s > 1000000
  for i in 0..k-1
    ans = ans + "#{s} "
  end
  for i in k..n-1
    ans = ans + "#{1} "
  end
else
  for i in 0..k-1
    ans = ans + "#{s} "
  end
  for i in k..n-1
    ans = ans + "#{s+1} "
  end
end

print ans