Input: Head: PersonX gets PersonX's paycheck<sep>Tail: rich
Output: Yes