Ivory Coast and Benin were the last two teams to qualify for the group stage of the 2017 WAFU Cup on Nations in Ghana.
The Ivorians progressed in the West African regional championship with a penalty shoot-out win over Togo after the goalless draw on Tuesday.
Benin were 2-0 winners over Cape Verde in the final qualifier.
The two winners join Senegal and Niger in Group B of the tournament, while hosts Ghana, Nigeria, Guinea and Mali will contest the other pool.
|Group A||Group B|
|Ghana (beat Gambia 1-0)||Benin (beat Cape Verde 2-0)|
|Guinea (beat Guinea-Bissau 2-1)||Ivory Coast (beat Togo on penalties)|
|Mali (beat Mauritania 3-1)||Niger (beat Burkina Faso 2-1)|
|Nigeria (beat Sierra Leone 2-0)||Senegal (beat Liberia on penalties)|
A total of 16 teams began the tournament as opposed to the four that took part in the 2015 edition in Senegal.
The group phase kicks off on Thursday with Mali playing Nigeria and Ghana facing Guinea in Group A.
The top two nations from the groups will progress to the semi-finals with the final set for 24 September.
Source ; BBC