Task: Text to Code
Input (English): eq { hop { nth_argmin { filter_eq { all_rows ; tournament ; japan } ; date ; 2 } ; surface } ; carpet ( i ) }
Output (English): ordinal