Q.17 Z and E nomenclature (text Q3.5)

About the order of priority of the ligand in each carbon atom of the compound 16, which is right?