3. Xiaoming goes to the supermarket to buy milk. If he buys fresh milk at 6 yuan per box, the money he brings is just enough; if he buys yogurt at 9 yuan per box, the money is also just enough, but he buys 6 fewer boxes than fresh milk. Xiaoming brings a total of yuan.