Switch C and Mg