Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; year ; 2 } ; womens singles } ; wang yihan }
Output (English): ordinal