A polyvalent metal weighing 0.1 g and having atomic mass 51.0 reacted with dil. H2SO4 to give 43.9 mL of H2 at STP. The solution containing the metal in the lower oxidation state was found to require 58.8 mL of 0.1N KMnO4 for complete oxidation. What are valencies of metal?