def METHOD_NAME(strings: list[str]) -> str:
    """Given a list of strings, formats them correctly given the length of the
    list. For example:
        oxfordize_list(['A'])  =>  'A'
        oxfordize_list(['A', 'B'])  =>  'A and B'
        oxfordize_list(['A', 'B', 'C'])  =>  'A, B, and C'
    """
    if len(strings) == 0:
        return ""
    elif len(strings) == 1:
        return strings[0]
    elif len(strings) == 2:
        return f"{strings[0]} and {strings[1]}"
    return f"{', '.join(strings[:-1])}, and {strings[-1]}"