<gh_stars>0
def between_markers(text: str, begin: str, end: str) -> str:
    return text[text.find(begin)+len(begin):text.rfind(end)]
def between_markers(text: str, begin: str, end: str) -> str:
    return text[text.find(begin)+len(begin):text.rfind(end)]