Task: Text to Code
Input (English): select the row whose distance ( km ) record of all rows is 2nd maximum . the station record of this row is higashi - ishinden .
Output (English): eq { hop { nth_argmax { all_rows ; distance ( km ) ; 2 } ; station } ; higashi - ishinden }