Input: Head: PersonX feels a lot of pain<sep>Tail: to visit the doctor
Output: Yes