The shoe sizes for 40 pupils in a class were recorded as shown in the table below. Determine the mean shoe size in the class.