Classify each of the following as being either a p-type or a ra-type semiconductor

Classify each of the following as being either a p-type or a ra-type semiconductor.
(i) Ge doped with In.
(ii) Si doped with B.

(i) Ge belongs to group-14 and In is to group-13. Thus, an
electron deficit hole is created. Thus, it is a p-type semiconductor.
(ii) B belongs to group-13 and Si is to group-14, thus, there will be a free electron. Hence, it is an n-type semiconductor