Asuming the groung state is A the energy of the electron in the ground state is 450zJ, Then the first nergy leve is B where the energy of the electron is 900zJ. If an electron jumps from a lower level to a higher level (like in the picture) it needs to absorb energy.