Which of the following rock favors petroleum formation?

Which of the following rock favors petroleum formation?

A. Sedimentary rock
B. Igneous rock
C. Metamorphic rock
D. None of these