A swimming pool can be filled by an inlet pipe in 10 hours and emptied by an outlet pipe in 12 hours. One day the pool is empty and the owner opens the inlet pipe to fill the pool. However, he forgets to close the outlet. With both pipes open, how long will it take to fill the pool?