The two conditional relative frequency tables below show the results of a survey asking students whether they are taking a foreign language or not.

A 4-column table with 3 rows. The first column has no label with entries middle school, high school, total. The second column is labeled taking a foreign language with entries 0.34, 0.66, 1.0. The third column is labeled not taking a foreign language with entries 0.64, 0.36, 1.0. The fourth column is labeled total with entries 0.4, 0.6, 1.0.

Table B: Frequency of Foreign-Language Studies by Row

A 4-column table with 3 rows. The first column has no label with entries middle school, high school, total. The second column is labeled taking a foreign language with entries 0.68, 0.88, 0.8. The third column is labeled not taking a foreign language with entries 0.32, 0.12, 0.2. The fourth column is labeled total with entries 1.0, 1.0, 1.0.

Which table could be used to answer the question "Assuming a student is taking a foreign language, what is the probability the student is also in high school?”

Table A, because the given condition is that the student is in high school.
Table A, because the given condition is that the student is taking a foreign language.
Table B, because the given condition is that the student is in high school.
Table B, because the given condition is that the student is taking a foreign language.