Task: Text to Code
Input (English): select the rows whose result record fuzzily matches to re-elected . select the row whose first elected record of these rows is 1st maximum . the incumbent record of this row is donald d clancy .
Output (English): eq { hop { nth_argmax { filter_eq { all_rows ; result ; re-elected } ; first elected ; 1 } ; incumbent } ; donald d clancy }