Ground-state energy of any atom