A pipe fills a tank in 3 hours, and another pipe empties it in 5 hours.If both are open simultaneously, how long does it take to fill the tank?