The outlet and plug type used in Madagascar are C and E and in Latvia are C and F. This is how they look like.
In Latvia, outlets of type C and F are in use.
In Madagascar, outlets of type C and E are in use.