4. Cici packs some chocolates and fruit candies into gift bags. If 3 chocolates and 7 fruit candies are packed in one bag, when the fruit candies are just used up, there are 25 chocolates left. If 5 chocolates and 5 fruit candies are packed in one bag, then in the end, there are 4 fruit candies left, and 1 chocolate left. The total number of chocolates and fruit candies is $\qquad$ pieces.
\begin{tabular}{c}
4 \\
\hline 95
\end{tabular}