Task: Text to Code
Input (English): eq { hop { nth_argmax { all_rows ; attendance ; 2 } ; visitor } ; kings }
Output (English): ordinal