Task: Text to Code
Input (English): select the row whose quantity made record of all rows is 4th maximum . the class record of this row is c .
Output (English): eq { hop { nth_argmax { all_rows ; quantity made ; 4 } ; class } ; c }