In a toy factory, the machines A, B, and C are used to manufacture 30%, 40%, and 30% of the output respectively. The probability that a toy produced by machines A, B, and C is defective is 2%, 3%, and 1% respectively. A toy is found to be defective. The probability that it was manufactured by machine B is: