Some students were asked how many pens they were carrying in their backpacks. The data is given in this frequency table. What is the mean number of pens carried by these students in their backpacks?
A. 3
B. 3.5
C. 4
D. 4.5
