Salts of A (atomic weight=7), B (atomic weight = 27) and C (atomic weight = 48) were electrolyzed under identical conditions using the same quantity of electricity. It was found that when 2.1 g of A was deposited, the weights of B and C deposited were 2.7 and 7.2 g. The valencies of A, B and C respectively are: