At the north campus of a performing arts school, 30% of the students are music majors. At the south campus, 70% of the students are music majors. The campuses are merged into one east campus. If 38% of the 100 students at the east campus are music majors, how many students did the north and south campuses have before the merger?