Task: Text to Code
Input (English): the 2nd minimum rank record of all rows is 2nd . the population record of the row with 2nd minimum rank record is 36039 .
Output (English): and { eq { nth_min { all_rows ; rank ; 2 } ; 2nd } ; eq { hop { nth_argmin { all_rows ; rank ; 2 } ; population } ; 36039 } }