
At a certain school, the school day begins at 8:15 a.m. and ends at 3:15 p.m. The day consists 0f 10-minute homeroom period, a 45-minute lunch period, and 8 class periods. If the students are allowed 5 minutes to pass from one room to the next after each period except the last, how many minutes long is each class period?
(A) 35
(B) 40
(C) 42
(D) 45
(E) 50