Species A doubles every 1 hours and initially there are 9 grams. Species B doubles every 5 hours and initially there are 10 grams. How long until the two species have the same mass?