There are 24 more students in the seventh grade class than the number g in the eighth grade class. The seventh grade class has 160 students. Write and solve an equation to find the number of the students in the eighth grade class.