Given the task definition and input, reply with output. Given a sentence in the Filipino, provide an equivalent translation in Japanese that retains the same meaning through the translation. In translation, keep numbers as it is.

Noong tumakbo ang oso pabalik sa gubat hinabol ito ng aso.

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
熊が森に走って帰ったあとを犬は追った。