public static function write(Animal $a)
 {
     echo $a->talk();
 }