Task: Text to Code
Input (English): select the row whose june 14 , 2009 record of all rows is 2nd maximum . the mexico record of this row is croatia .
Output (English): eq { hop { nth_argmax { all_rows ; june 14 , 2009 ; 2 } ; mexico } ; croatia }