One filling pipe P is three times faster than another filling pipe Q , If P can fill the tank in 24 hours, then what is the time taken to completely fill the tank if both pipes are opened together?