If 5 students each bought in a boxes with 10 pencils per box and 10 students bought in eight boxes with five pencil per box how many total points did the students bring in