A salt when dissolved in water dissociates into a cation (A+) and an anion (B-). If both the ions consist of the same number of electrons and the molecular weight of the salt (AB) is 74.5, identify the position of A and B in the modern periodic table.