Task: Text to Code
Input (English): eq { hop { nth_argmin { all_rows ; first elected ; 2 } ; incumbent } ; james p richards }
Output (English): ordinal