x/50+x/40+ 10/50= 1
x/50+x/40=4/5
9/200x=4/5
x= 160/9
160/9
Students in the two classes can finish sorting out these books together before staying in school.