def between_parentheses(s: str) ->str:
    """ Returns the text between the parentheses found in a string argument
    Args:
        s: a string

    Returns:
        a string. Examples: "(LOOP)" -> "LOOP", "(123 456)" -> "123 456"

    """
    return s[s.find('(') + 1:s.rfind(')')]
