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