Input: Head: PersonX gets PersonY's credit card<sep>Tail: happy
Output: 


Answer: Yes