Task: Text to Code
Input (English): select the row whose production num record of all rows is 3rd maximum . the title record of this row is red - headed baby .
Output (English): eq { hop { nth_argmax { all_rows ; production num ; 3 } ; title } ; red - headed baby }