Task: Text to Code
Input (English): select the rows whose gold record is equal to 3 . select the row whose silver record of these rows is maximum . the nation record of this row is china .
Output (English): eq { hop { argmax { filter_eq { all_rows ; gold ; 3 } ; silver } ; nation } ; china }