Task: Text to Code
Input (English): select the row whose population density ( per km square ) record of all rows is maximum . the country with flag record of this row is puerto rico ( usa ) .
Output (English): eq { hop { argmax { all_rows ; population density ( per km square ) } ; country with flag } ; puerto rico ( usa ) }