Europium has an atomic number of 63 and a stable electronic configuration of [Xe]4f76s2.
Ytterbium, on the other hand, has an atomic number of 70 and a stable electronic configuration of [Xe]4f146s2.
Both have high 3rd ionisation energy due to half filled & fully filled configuration respectively.