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