Give the step-by-step reasoning process and then the final answer. Mary brought 50 stickers to class. She gave 4 stickers to each of her 5 friends. She gave everyone else in class two stickers each. If she has 8 stickers left over, how many students are in the class, including Mary?
She gave out 50 - 8 = 42 stickers in total. She gave 4 * 5 = 20 stickers to her friends. She gave out 42 - 20 = 22 stickers to the rest of the class. This means there are 22 / 2 = 11 other students in the class. There are a total of 1 + 5 + 11 = 17 students in the class.
The final answer: 17.