单项选择题

All flights ______ because of the snowstorm, we decided to take the train.

A.were canceled
B.had been canceled
C.having canceled
D.having been canceled