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