A slide hammer with those hooked ends should do it. However, one old mechanics trick is to fill the shaft hole in the middle with heavy grease and then punch it with a suitable sized wood dowel - that will offen force the bearing out.
A metal rod would be best the same size as the input shaft heavy wheel bearing grease and a hammer or measure how thick the new one is mark a drill bit drill a hole in on both sides tap the hole with the appropriate sized tap screw bolts in evenly and it will push it out that is a last resort