4. Grandpa Stamen gathered 258 kilograms of pears from his orchard and set off to the market. That day, he sold a part of them. If he had sold 15 kg more, he would have had one-sixth of the total amount of pears left. In addition, $\frac{3}{8}$ of the sold pears and another 5 kg were sold in the morning at a price of 30 den/kг. In the afternoon, he increased the price and earned $1 \frac{5}{8}$ times more money from the pears he sold in the afternoon compared to those he sold in the morning. At what price did Grandpa Stamen sell the pears in the afternoon?
Solution. On that day, Grandpa Stamen sold $\frac{5}{6} \cdot 258 - 15 = 200$ kg of pears.

In the morning, he sold $\frac{3}{8} \cdot 200 + 5 = 80$ kg of pears and earned
$80 \cdot 30 = 2400$ denars. In the afternoon, he sold $200 - 80 = 120$ kg of pears and for them, he received $2400 \cdot 1 \frac{5}{8} = 2400 \cdot \frac{13}{8} = 3900$ denars. This means that in the afternoon, he sold the pears at a price of $3900 \div 120 = 32.5$ denars.