Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; candidates ; 1 } ; incumbent } ; john thomas wilson }
Output (English): ordinal