Task: Text to Code
Input (English): eq { nth_max { filter_eq { all_rows ; type ; free transfer } ; age ; 2 } ; 31 }
Output (English): ordinal