Input: Head: PersonX obtains PersonY order<sep>Tail: happy
Output: 


Answer: Yes