Task: Text to Code
Input (English): select the row whose date record of all rows is 3rd minimum . the tournament record of this row is chennai , india .
Output (English): eq { hop { nth_argmin { all_rows ; date ; 3 } ; tournament } ; chennai , india }