Central middle school sold 50 tickets for one night at the school play. Student tickets sold for 2$ each and adult tickets sold for 3$ each. They took in 135$. How many of each type of ticket did they sell?

2s + 3(50-s) = 135