Input: Head: PersonX answers PersonY's question<sep>Tail: thanked for helping
Answer: Yes