p=perro. g+r=10

g=gato. p+r= 20

r= ratón p+g=24

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

R= 3KG + P+G=24

P+G+R= 27