Task: Text to Code
Input (English): select the rows whose population record is less than 10,000,000 . select the row whose gdp ( nominal ) record of these rows is 2nd maximum . the country record of this row is tajikistan .
Output (English): eq { hop { nth_argmax { filter_less { all_rows ; population ; 10,000,000 } ; gdp ( nominal ) ; 2 } ; country } ; tajikistan }