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