The electron's going to come out of that highestoccupied atomic orbital, that one that's the highest in energy, because that's going to be the at least amount of energy it needs to eject something.
It makes sense that it's going to come out of the highestoccupied atomic orbital, because that's going to be the lowest amount of energy that's required to actually eject an electron.