Task: Text to Code
Input (English): eq { hop { nth_argmin { all_rows ; first elected ; 1 } ; incumbent } ; finis j garrett }
Output (English): ordinal