Task: Text to Code
Input (English): select the row whose number of seasons in top division record of all rows is 3rd maximum . the club record of this row is rijeka a , b .
Output (English): eq { hop { nth_argmax { all_rows ; number of seasons in top division ; 3 } ; club } ; rijeka a , b }