Some students (fewer than 100 in total) were split into two classes.

The simple mean average between the sizes of the two classes was noted.

Each of the students was asked how large their class was, and the mean average of their responses was calculated, and was found to be precisely 7 more than the simple mean average.

How many students were in each of the two classes?