There are two examination halls − M and N. If 10 students are sent from M to N, the number of students in both the halls is same. If 20 students are sent from N to M, the number of students in M become twice the number of students in N. The number of students in M and N respectively are: