Input: Head: PersonX gets PersonX's paycheck<sep>Tail: to invest money
Output: Yes