At the beginning of Grade 6, the ratio of advanced math students to the number of regular math students was 3: 8. After taking placement tests, students we removed around changing the ratio of advanced students to the number of regular students to 4: 7. How many students started in regular math and advanced math if there were 92 students in advanced math after the placement test?