Task: Text to Code
Input (English): select the row whose time record of all rows is 2nd minimum . the athlete record of this row is peter hardcastle .
Output (English): eq { hop { nth_argmin { all_rows ; time ; 2 } ; athlete } ; peter hardcastle }