Two pipes a and b can fill a tank in 24 minutes and 32 minutes respectively. If both the pipes are opened simultaneously, after howmuch time should b be closed so that the tank is full in 18minutes?