12. (6 points) Xiao Wang has 8 one-cent coins, 4 two-cent coins, and 1 five-cent coin. He wants to make 8 cents. There are $\qquad$ different ways to do this.
12. (6 points) Xiao Wang has 8 1-fen coins, 4 2-fen coins, and 1 5-fen coin. He needs to make up 8 fen. There are 7 different ways to do this.
【Solution】Solution: (1) 8 1-fen coins,
(2) 4 2-fen coins,
(3) 2 1-fen coins, 3 2-fen coins,
(4) 4 1-fen coins, 2 2-fen coins,
(5) 6 1-fen coins, 1 2-fen coin,
(6) 3 1-fen coins, 1 5-fen coin,
(7) 1 1-fen coin, 1 2-fen coin, 1 5-fen coin;
Therefore, there are 7 different ways to make up 8 fen.

So the answer is 7.