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 moved to the garden. Mary went back to the bathroom. Daniel travelled to the kitchen. Sandra went to the kitchen. Daniel journeyed to the garden. Mary journeyed to the kitchen. Mary moved to the hallway. John went back to the bedroom. John moved to the office. John travelled to the bathroom. Question: Where is Mary?

SOLUTION: hallway

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

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. Sandra moved to the hallway. John went back to the bedroom. Question: Where is Mary?

SOLUTION:
office