In a school, there are 120 students in the 5th grade. One-third of the students are in the advanced math class, and one-fifth of the remaining students are in the intermediate math class. How many students are in the intermediate math class? Let's think step by step and output the final answer within \boxed{}.
user