System for calculating average weight of students