France, Jan. 1 -- The Ivorians and the Indomitable Lions of Cameroon came into their last Group F matches with identical records, leaving open the possibility that a drawing of lots would be required to determine their final positions.

But in the end the Ivorians finished in first place in Group F on goals scored after coming from two goals down to beat already-eliminated Gabon 3-2 while Cameroon defeated Mozambique 2-1.

Both sides finished on seven points with Mozambique on three points and Gabon on one. Mozambique go through as one of the four best third-placed sides.

Tanzania reach Africa Cup of Nations knockout stages for first time

Cote d'Ivoire found themselves two goals behind after just 21 minutes in Marrakesh, with Guelor Kan...