Task: Text to Code
Input (English): select the row whose total trade record of all rows is 1st minimum . the country record of this row is iran .
Output (English): eq { hop { nth_argmin { all_rows ; total trade ; 1 } ; country } ; iran }