How to replace new atoms with the existing atom

Hello everyone,
I want to replace lithium ions with some of the sodium ions in the lammps script.

Please post your question in the LAMMPS forum