The hole concentration in an intrinsic semiconductor is \(5\times10^{8}\,\text{m}^{-3}\). When it is doped with certain impurity, the electron concentration becomes \(4\times10^{12}\,\text{m}^{-3}\). Find the new value of the hole concentration. Also identify the type of new semiconductor formed after doping.