Input: Head: PersonX pays the money<sep>Tail: glad
Output: 


Answer: Yes