Task: Text to Code
Input (English): select the row whose votes record of all rows is 3rd maximum . the candidate 's name record of this row is michael mackay .
Output (English): eq { hop { nth_argmax { all_rows ; votes ; 3 } ; candidate 's name } ; michael mackay }