Task: Text to Code
Input (English): select the row whose first elected record of all rows is minimum . the incumbent record of this row is percy e quin .
Output (English): eq { hop { argmin { all_rows ; first elected } ; incumbent } ; percy e quin }