Respuesta :

Both dynasties used exams to select officials.