Task: Text to Code
Input (English): select the row whose home team score record of all rows is maximum . the home team record of this row is richmond .
Output (English): eq { hop { argmax { all_rows ; home team score } ; home team } ; richmond }