Mandy researched 42 med schools. She applied to 1/3 of the schools she researched and got into half of the schools where she applied. How many schools was Mandy accepted to?
Please reason step by step, and put your final answer within \boxed{}.
user