Task: Text to Code
Input (English): the 2nd maximum weeks record of all rows is 16 weeks .
Output (English): eq { nth_max { all_rows ; weeks ; 2 } ; 16 weeks }