Task: Text to Code
Input (English): select the row whose took office record of all rows is 2nd maximum . the name record of this row is lamberto zannier .
Output (English): eq { hop { nth_argmax { all_rows ; took office ; 2 } ; name } ; lamberto zannier }