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

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