Task: Text to Code
Input (English): select the row whose weeks on top record of all rows is 2nd maximum . the song record of this row is livin ' la vida loca .
Output (English): eq { hop { nth_argmax { all_rows ; weeks on top ; 2 } ; song } ; livin ' la vida loca }