In a toy factory, the machines \(A\), \(B\), and \(C\) are used to manufacture \(30\%\), \(40\%\), and \(30\%\) of the output, respectively. The probabilities of toys made by machines \(A\), \(B\), and \(C\) to be defective are respectively \(2\%\), \(3\%\), and \(1\%\). A toy is taken from the factory and is found to be defective. The probability that it was manufactured by machine \(B\) is