IP1 and IP2 of Mg are 178 and 348 K cal mol−1. The energy required for the reaction Mg → Mg2+ + 2e− is