The countries that have a coastline on the Atlantic from the list are:
Nigeria, Gabon, Cote D'Ivoire, Senegal and Cameroon
Niger, Mali, do not have a coastline - the are located in the middle of the continent.
Additionally other countries have a coastline on the Atlantic, for example Angola and Namibia.