Question
Assume that a factory has two machines A and B. Past records shows that machine A produces 60% of the items of output and machine B produces 40% of the items. Further, 2% of the items produced by machine A were defective and only 1% produced by machine B were defective. If a detective item is drawn at random, what is the probability that it was produced by machine A?