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?
How many yellow candies are there? ** There are 10 + 4 = <<10+4=14>>14 yellow candies.
How many green candies are there? ** There are 14 - 2 = <<14-2=12>>12 green candies.
How many rainbow nerds are there? ** There are 10 + 14 + 12 = <<10+14+12=36>>36 rainbow nerds candies in the box.
#### 36