单项选择题

When we (walked) past the theater, there (were) a lot of people (waited) in a long line (outside) the box office.

A.walked
B.were
C.waited
D.outside