Input: Head: PersonX goes deaf<sep>Tail: to visit the doctor
Output: Yes