$\begin{array}{1 1}Ag|AgCl(S)|KCl(aq)||AgNO_3(aq)|Ag\\Pt|H_2(g)|HCl(aq)||AgNO_3(aq)|Ag\\Pt|H_2(g)|HCl(aq)|AgCl(s)|Ag\\Pt|H_2(g)|KCl(aq)|AgCl(s)|Ag\end{array} $