def bleach(s: str):
    """Bleach the string of the atom names and element names.

    Replace '+' with 'p', '-' with 'n'. Strip all the characters except the number and letters.
    """
    return ''.replace("+", "p").replace("-", "n").join((c for c in s if c.isalnum()))