Task: Text to Code
Input (English): select the row whose crowd record of all rows is 4th maximum . the home team record of this row is essendon .
Output (English): eq { hop { nth_argmax { all_rows ; crowd ; 4 } ; home team } ; essendon }