What was the change in religion between the Goryeo and Choson dynasties?

A from Buddhism to Neo-Confucianism
B from shamanism to Neo-Confucianism
C from Confucianism to Buddhism
D from shamanism to Buddhism

PLEASE HURRY