Input: Head: PersonX earns extra money<sep>Tail: to spend money
Output: Yes