Choose from options, is the following sentence linguistically acceptable?
What Mary gave was a book to John.
A. unacceptable; B. acceptable;
A.