In Linguistics $101,$ the ratio of the number of juniors to the number of seniors is $3:2$. When twelve more juniors join the class, and one senior drops the class, the ratio of the number of juniors to the number of seniors becomes $2:1$. How many students are in the class after these changes?