void operator<<(const Animal& A) { sum1_+=A.age(); ++n_; }
 bool operator()(const Animal& A) const { return age_==A.age(); }