EXPLANATION
Distribution ---> 5 skittles per student
Ate ---> 8 remained
Originally ---> 143 skittles
Let's call x to the number of students.
So, if the total number of skittles is 143, the relationship should be:
143 = 5*x +8 [EQUATION]
Now, adding +8 to both sides:
143 - 8 = 5x
Adding terms:
135 = 5x
Dividing both sides by 5:
135/5 = x
Simplifying:
27 = x
Switching sides:
x=27
There are 27 students.