Task: Text to Code
Input (English): select the row whose date record of all rows is 17th minimum . the competition record of this row is 2012 philippine peace cup .
Output (English): eq { hop { nth_argmin { all_rows ; date ; 17 } ; competition } ; 2012 philippine peace cup }