# The Apple Problem

**Number Theory**Level 2

After a while, a person took away more than 15 green apples and ran away.

Then, another person came and checked the box, he wants to match 1 red apple and 1 green apple as a pair, after he matched all the possible pairs, he finds out there are less than 13 red apples that can't be matched as a pair.

If he switches the red apples the same number as \(\frac{1}{4}\) of stolen green apples to green, then only 2 red apples can't be matched as a pair.

If there are at least 37 red apples in the box, how many green apples was stolen?