Three water pipes are used to fill a swimming pool. The 1st pipe alone takes 8 hours to fill the pool, the 2nd pipe alone takes 12 hours to fill the pool, and the 3rd pipe takes 24 hours to fill the pool. If all 3 pipes are opened at the same time, how long will it take all 3 together to fill the pool?