A box of rainbow nerds contains 10 purple candies, 4 more yellow candies, and 2 fewer green candies than yellow candies. How many rainbow nerds are there in the box? Let's answer step by step:
There are 10 + 4 = 14 yellow candies. There are 14 - 2 = 12 green candies. There are 10 + 14 + 12 = 36 rainbow nerds candies in the box. The answer: 36.