In a classroom, there are three times as many students who prefer math as those who prefer science. If the total number of students who prefer either subject is 48, how many students prefer math? Let's think step by step and output the final answer within \boxed{}.
user