Task: Text to Code
Input (English): select the row whose agg score record of all rows is 7th maximum . the team 1 record of this row is ilisiakos .
Output (English): eq { hop { nth_argmax { all_rows ; agg score ; 7 } ; team 1 } ; ilisiakos }