Task: Text to Code
Input (English): select the row whose week record of all rows is 1st minimum . the opponent record of this row is detroit lions .
Output (English): eq { hop { nth_argmin { all_rows ; week ; 1 } ; opponent } ; detroit lions }