what ocean flows on the longest river?