Task: Text to Code
Input (English): eq { hop { nth_argmin { all_rows ; date of appointment ; 1 } ; team } ; académica de coimbra }
Output (English): ordinal