Let s is the number of students ,since each student get 5 pencils, then number of pencils need = number of students× number of pencils given to each studentthen number of pencils need =5×s=5s