Immediately after former European colonies in Africa gained independence, what model of government did they usually adopt?

A. a republic with a new monarch as head of state
B. a republic with a president as head of state
C. a republic with a prime minister as head of state
D. a republic with a foreign monarch as head of state

B. a republic with a president as head of state