25. In the wallet, there are 71 kopecks in coins of 5, 2, and 1 kopeck. The number of 1 and 2 kopeck coins is the same. How many coins of each denomination are in the wallet if there are 31 of them in total?
25. 1 kopeck - 12 coins, 2 kopecks - 12 coins, and 5 kopecks - 7 coins.