You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: pipe a can fill a tank in 6 minutes and pipe b cam empty it in 24 minutes . if both the pipes are opened together after how many minutes should pipe b be closed , so that the tank is filled in 30 minutes ?
Output:
96