def METHOD_NAME(html: str) -> Tuple[str, int]:
    """
    Extract the RID and RTOE from BLAST HTML data containing a <QBlastInfo /> tag.
    :param html: the input HTML
    :return: a tuple containing the RID and RTOE
    """
    string = html.split("<!--QBlastInfoBegin")[1].split("QBlastInfoEnd")[0]
    match = re.search(r"RID = (.+)", string)
    rid = match.group(1)
    rid = rid.strip(" ")
    match = re.search(r"RTOE = (.+)", string)
    rtoe = match.group(1)
    rtoe = rtoe.strip(" ")
    return rid, int(rtoe)