Task: Text to Code
Input (English): select the row whose frequency mhz record of all rows is 2nd maximum . the call sign record of this row is w291aq .
Output (English): eq { hop { nth_argmax { all_rows ; frequency mhz ; 2 } ; call sign } ; w291aq }