The electron affinity of an atom typically depends on the

Amass of the atom's nucleus.
Bnumber of electrons already present in the atom.
Cnumber of neutrons in the nucleus of the atom.
Davailability of an unfilled orbital in the atom.