three artist each painted 27 frog and 15 lions two other artist each painted the same number of lions and twice as many frogs.how many animals did the five paint in all?