The Elephants of Ivory Coast are through to the Africa Cup of Nations knockout stages after beating Cameroon in their final Group D match.
But for Guinea and Mali the second qualifying spot from the group will have to be decided by drawing lots.
The two teams drew 1-1 today in their final group game - the third match in a row that both sides had managed that exact result during the tournament.
With no other means of separating the sides, whichever team's luck is out will exit.
Meanwhile, a goal from ex-Leeds forward Max Gradel gave Ivory Coast a narrow 1-0 victory over Cameroon's Indomitable Lions to top the group.