which believe system of the basis for the civil service exams given during the Han tang and song dynasties?

1) legalism

2) daoism

3) buddhism

4) confucianism