单项选择题

In a graduating class of 236 students。142took algebra and 121 took chemistry.What is the greatest number of students that could have taken both algebra and chemistry()

A. 21
B. 27
C. 37
D. 121
E. 142