Task: Text to Code
Input (English): select the row whose attendance record of all rows is maximum . the opponent record of this row is detroit lions .
Output (English): eq { hop { argmax { all_rows ; attendance } ; opponent } ; detroit lions }