|Rank|Nation|Gold|Silver|Bronze|Total|
|---|---|---|---|---|---|
|1|Algeria|8|3|0|11|
|2|Tunisia|4|3|5|12|
|3|Egypt|3|3|3|9|
|4|Cameroon|1|1|5|7|
|5|Morocco|0|1|5|5|
|6|South Africa|0|1|1|2|
|7|Angola|0|1|0|1|
|7|Burkina Faso|0|1|0|1|
|7|Gabon|0|1|0|1|
|7|Madagascar|0|1|0|1|
|11|Nigeria|0|0|3|3|
|12|Senegal|0|0|2|2|
|13|Congo Republic|0|0|1|1|
|13|Ivory Coast|0|0|1|1|
|13|Guinea|0|0|1|1|
|13|Niger|0|0|1|1|

Question: what rank did the nation with the most total medals receive?
Answer: 2