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