Cat and dog friends by calculation