r+g+a=18660,
g+a=11160 de unde a=11160-g,
r+g=13570 de unde r=13570-g,
Inlocuim in prima relatie
13570-g+g+11160-g=18660,
24730 -g =18660,
g=24730-18660,
g=6070 becuri galbene,
a=11160-6070,
a=5090 becuri albastre,
r=13750-6070,
r=7500 becuri rosii,
Proba 7500+5090+6070=18660