单项选择题

____________, I found all the seats were taken.

A、To enter the classroom
B、Entered the classroom
C、Entering the classroom
D、To be entered the classroom