In this task, you are given a premise sentence, two possible options and a question word. If the question was cause you should select the option that is a possible cause of the premise sentence, and if the question word was effect you should find the option which is a possible effect of the premise sentence. Answer with "A" or "B".

Example Input: The climbers reached the peak of the mountain. (A) They encountered an avalanche. (B) They congratulated each other., Question: effect
Example Output: B

Example Input: The pair of students came under scrutiny by the teacher. (A) The students both received excellent grades. (B) Their responses on the assignment were identical., Question: cause
Example Output: B

Example Input: The man woke up with a toothache. (A) He missed an appointment with the dentist. (B) He made an appointment with the dentist., Question: effect
Example Output:
B