Which country has the longest coastline Cuba or Jamamica?

Cuba has the longer coastline, more than triple that of Jamaica's.