Sort:  

As long as the dog doesn't chase the cat up the tree, and the cat doesn't attack the parrot...