Find the oxidation number of the elements which are underlined in the compounds given below. Among these find out the elements which show variable oxidation numbers.
MnO2 , Mn2O7 , K2Cr2O7 , KCrO3 , MnCl2 , MgO, MgCl2 , Al2O3 ,AlCl3
(Hint. Oxidation number 0 = -2, Cl = -1, K = +1)