An empty tank is connected with pipes A, B and C. A and B inlet pipes and they fill the tank in 6 hours and 8 hours respectively. While C is an outlet pipe and it empties the completely filled tank in 5 hours. Find the time in which the tank will be completely filled if all the pipes are opened together.