Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
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?

### Response:
 Idadi ya pipi za manjano ni 4 zaidi ya idadi ya pipi za zambarau, hivyo idadi ya pipi za manjano ni 10 + 4 = 14.
Idadi ya pipi za kijani ni 2 chini ya idadi ya pipi za manjano, hivyo idadi ya pipi za kijani ni 14 - 2 = 12.
Jumla ya pipi za rangi ya upinde ni 10 + 14 + 12 = 36.