12. (5 points) Jia, Yi, and Bing went on an outing. Jia bought 9 sausages, Yi bought 6 bread rolls, and Bing bought 3 bottles of mineral water. The money Yi spent is $\frac{12}{13}$ of what Jia spent, and the money Bing spent is $\frac{2}{3}$ of what Yi spent. Bing, based on how much each person spent, took out 9 yuan to give to Jia and Yi, giving Jia $\qquad$ yuan and Yi $\qquad$ yuan.
【Solution】Solution: The amount spent by C is $\frac{12}{13} \times \frac{2}{3}=\frac{8}{13}$
$$
\begin{array}{l}
\text { A: B: C }=1: \frac{12}{13}: \frac{8}{13}=13: 12: 8 \\
(13+12+8) \div 3=11
\end{array}
$$

Each share: $9 \div(11-8)=3$ (yuan)
A: $(13-11) \times 3=6$ (yuan)
B: (12-11) $\times 3=3$ (yuan)
Answer: Give 6 yuan to A, and 3 yuan to B.
Therefore, the answers are: 6, 3.