Which type or types of rock can become metamorphic rock?

A.
metamorphic and igneous rocks

B.
igneous, sedimentary, and metamorphic rocks

C.
igneous and sedimentary rocks

D.
only sedimentary rocks