The element with atomic number 89 belongs to either d-block or p-block. It violates Aufbau's principle. It does not belongs to lanthanides.
The element with atomic number 35 belongs to either d-block or p-block. It is a fourth period element. It does not belongs to lanthanides
The element with atomic number 37 belongs to fourth period. It does not belongs to lanthanides.
The element with the atomic number 24 is either d-block or p-block element. It belongs to fourth period.
It violates Aufbau's principle. It is not a lanthanide.