the second place at palace examinations