def remove_non_characters2(x: str)->str:
    """
    Input: String
    Output: String
    Removes everything that is not letters or numbers.
    """
    z = list([val for val in x if val.isalnum()])
    return ''.join(z)