Which sentence is more formal?
A. The senator announced unexpectedly that she was resigning.
B. Out of the blue, the senator announced that she was resigning.
Choose the right answer from the options and respond with its letter.

A