Of the following metals that cannot be obtained by electrolysis of the aqueous solution of their salts are (a) Ag (b) Mg