Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: two pipes can fill the cistern in 10 hr and 12 hr respectively , while the third empty it in 30 hr . if all pipes are opened simultaneously , then the cistern will be filled in
