In this task, you are given a fact statement and question based on the fact. Your task is to generate the correct answer for the question. The answer needs to be generated using the context fact statement.

Example Input: Fact: ink is used for hiding from predators by octopuses. Question: Octopuses excrete an ink as defense when?
Example Output: They're in danger

Example Input: Fact: a plant absorbs carbon dioxide from the air for photosynthesis. Question: Trees take in CO2 from the atmosphere for?
Example Output: synthesizing food

Example Input: Fact: the mantle is located just below Earth 's crust. Question: Much iron is in?
Example Output:
Earth's second layer