Task: Text to Code
Input (English): select the row whose cultural and educational panel record of all rows is 2nd maximum . the party record of this row is fianna fáil .
Output (English): eq { hop { nth_argmax { all_rows ; cultural and educational panel ; 2 } ; party } ; fianna fáil }