p=psy. g+r=10

g=kot. p+r= 20

r= mysz p+g=24

p+g+2r = 30 -> 24+ 2R= 30

R= 3KG + P+G=24

P+G+R= 27