An electron is present in a hydrogen atom in the ground state and another electron is present in a single electron species of beryllium. In both the species the distance between the nucleus and electron is same. Calculate the difference in their energies.