Which is a complex sentence?
A. Freedom of speech and trial by jury are two important rights in the United States Constitution.
B. When the submarine surfaced, a crowd of people on the shore gathered and stared at the rare sight.
Answer with the option's letter from the given choices directly.

B