Task: Text to Code
Input (English): select the row whose silver record of all rows is 2nd maximum . the nation record of this row is canada .
Output (English): eq { hop { nth_argmax { all_rows ; silver ; 2 } ; nation } ; canada }