Develop a full algorithm to write the names that doesn't offend!