if ((endswith_mark(n1) and is_mark(n2)) or
       (endswith_mark(o1) and is_mark(o2))):
        return True