(CNN) -- Zambia will face pre-tournament favorites Ivory Coast in Sunday's final of the Africa Cup of Nations after both countries won their semifinals 1-0 on Wednesday. Substitute Emmanuel Mayuka scored the only goal 12 minutes from time as Zambia shocked another one of the title favorites, Ghana. Meanwhile, a superb individual goal from Arsenal striker Gervinho proved enough for Ivory Coast to see off Mali in Gabon's capital Libreville. World Cup quarterfinalists Ghana, who lost to Egypt in the 2010 African final, squandered a host of chances, missed a penalty and had a player sent off in Bata, Equatorial Guinea.
@highlight
Zambia stun favorites Ghana 1-0 to reach the final of the Africa Cup of Nations
@highlight
Substitute Emmanuel Mayuka scores the only goal with 12 minutes remaining
@highlight
Zambia will face Ivory Coast in Sunday's final after the Elephants beat Mali 1-0
@highlight
Arsenal striker Gervinho's superb individual goal is enough to defeat co-hosts
And the @placeholder were made to pay for not taking advantage of their superiority when 20-year-old striker Mayuka fired home from outside the penalty area.
Ghana continued to have the majority of the possession after the break, but @placeholder's superb strike gave Zambia a lead they held onto.