Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; earnings ; 2 } ; year } ; 2009 }
Output (English): ordinal