Task: Text to Code
Input (English): select the row whose original airdate record of all rows is 2nd maximum . the series record of this row is 12 .
Output (English): eq { hop { nth_argmax { all_rows ; original airdate ; 2 } ; series } ; 12 }