A die is selected at random from two twenty-faced dice on which the symbols 1-10 are written with non-uniform frequency as follows.

The randomly chosen die is rolled 7 times, with the following outcomes:
What is the probability that the die is die A?
