Mali and Malawi both crashed out of the 2010 Africa Cup of Nations after a 3-1 victory for the West Africans in their final Group A encounter in Cabinda on Monday.
It was a thrilling battle between the two sides, but it would ultimately end in disappointment for both as Angola and Algeria engineered a 0-0 draw in Luanda to ensure both those side went through to the quarterfinals.
Angola finish the group on top with five points, and while Mali and Algeria were level on four points, with the Malians having the better goal-difference, team position is decided on head-to-head between the two teams and Algeria's 1-0 win over Stephen Keshi's side in their second pool match kept them in second.
Malawi finished fourth with three points, but had some excellent chances to earn a point in this game, which would have elevated them into second, above Algeria on head-to-head.