单项选择题

He complied with the requirement that all graduate students in education ______ a thesis.

A. write

B. writing
C. to write
D. be writing