Task: Text to Code
Input (English): select the row whose frequency mhz record of all rows is 3rd maximum . the erp kw record of this row is 3 .
Output (English): eq { hop { nth_argmax { all_rows ; frequency mhz ; 3 } ; erp kw } ; 3 }