Identify the following sentence as declarative, interrogative, imperative, or exclamatory.

What a sad thing that is!

A.
exclamatory

B.
declarative

C.
imperative

D.
interrogative