Senegal are through to their third Africa Cup of Nations final.