<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:


def correct_bracketing(brackets: str):
    """ brackets is a string of "<" and ">". return True if every opening bracket has a corresponding closing bracket. False True True False """
    depth = 0
    for b in brackets:
        if b == "<":
            depth += 1
        else:
            depth -= 1
        if depth < 0:
            return False
    return depth == 0
