Salts of A (atomic mass 15), B (atomic mass 27) and C (atomic mass 48) were electrolyzed using the same amount of charge. It was found that when 4.5 g of A was deposited, the mass of B and C deposited were 2.7 g and 9.6 g. The valencies of A, B and C respectively.