Task: Text to Code
Input (English): select the row whose first store record of all rows is 3rd minimum . the country record of this row is spain .
Output (English): eq { hop { nth_argmin { all_rows ; first store ; 3 } ; country } ; spain }