TASK DEFINITION: You will be given a passage consisting of set of facts and a question as input. The task is to answer a question of form 'Where is <person_name>?' using one of the given facts to determine the latest location of the person. Answer should be a word/phrase describing the location from the supporting fact. Avoid answers that are incomplete or incorrect.
PROBLEM: Passage: Daniel went to the office. John journeyed to the garden. John travelled to the bathroom. Daniel moved to the bedroom. Mary travelled to the kitchen. John journeyed to the kitchen. John travelled to the office. Sandra moved to the office. John moved to the garden. Mary journeyed to the bedroom. Question: Where is Sandra?

SOLUTION: office

PROBLEM: Passage: Mary went back to the office. Mary went to the bathroom. Question: Where is Mary?

SOLUTION: bathroom

PROBLEM: Passage: Mary went to the bathroom. John travelled to the hallway. John moved to the kitchen. Mary went back to the hallway. Daniel went back to the bedroom. Mary journeyed to the garden. Mary went back to the office. Daniel went back to the bathroom. Question: Where is Daniel?

SOLUTION:
bathroom