A factory manufactures electronic components and has two machines, Machine X and Machine Y. Machine X produces 70% of the total output, and Machine Y produces 30% of the total output. The probability that a component produced by Machine X is defective is 3%, while for Machine Y, it is 8%. If a randomly selected component from the factory is found to be defective, what is the probability that it was produced by Machine X?