In a class, the number of students who passed the math test is three times the number of students who failed. If the total number of students in the class is 48, how many students passed the math test? Let's think step by step and output the final answer within \boxed{}.
user