Task: Text to Code
Input (English): select the row whose joined record of all rows is 3rd maximum . the school record of this row is south bend clay .
Output (English): eq { hop { nth_argmax { all_rows ; joined ; 3 } ; school } ; south bend clay }