contestada

Which sentence is in passive voice?
A. By 1700, scientists had identified only twelve of the more than one hundred
elements.
B.By 1700, only twelve of the more than one hundred elements had been
identified by scientists.