You will be given a definition of a task first, then some input of the task.
In this task, you are given a question and an answer. Answer "Yes" if the given answer correctly answers the question, otherwise answer "No".

when was the trogan war, Answer: The ancient Greeks thought that the Trojan War was a historical event that had taken place in the 13th or 12th century BC, and believed that Troy was located in modern-day Turkey near the Dardanelles .
Output:
Yes