单项选择题

Some students like staying up Date into the night, ______ their lessons for the coming final examination.

A.to prepare
B.prepare
C.preparing
D.were preparing