Input: Head: PersonX earns extra money<sep>Tail: hard working
Output: Yes