Calculate the lattice energy of MgO using the Born-Haber cycle given the following information: the standard enthalpies of formation of MgO(s), Mg(g), and O2(g) are -601.6 kJ/mol, 147.3 kJ/mol and 0 kJ/mol respectively, the ionisation energy of Mg(g) is 737.7 kJ/mol, the electron affinity of O2(g) is -141 kJ/mol, and the bond energy of the O2 molecule is 498 kJ/mol.