# 4. Option 1.

In a box, there are red, blue, and green pencils. It is known that if you remove two red pencils, the number of pencils of all colors will be equal. And if after that you add 10 red pencils to the box, the number of red pencils will be exactly half of all the pencils. How many pencils were in the box initially?