Replacing elements of one list with elements of another list

Hi,
I’m trying to combine 2 lists with replacing elements of others but I couldn’t. :frowning:
The first list is String and 2nd one list family list. Family names also contain 1st list but I couldn’t figure out how to replace 1st list element with the 2nd list.
Thank you!

I recommend looking into dictionaries:

Ahh thank you!