A factory produces two different widgets, types A and B. 30% of the widgets are type A. Of the type A widgets, 1% are defective whereas of the type B widgets, 3% are defective. If a widget is selected at random and is found to be defective, what is the probability it is type A?