Task: Text to Code
Input (English): select the rows whose team record fuzzily matches to tomcat racing . select the row whose season record of these rows is 3rd minimum . the races record of this row is 12 .
Output (English): eq { hop { nth_argmin { filter_eq { all_rows ; team ; tomcat racing } ; season ; 3 } ; races } ; 12 }