Input: Head: PersonX has any money though<sep>Tail: buy something if has money
Output: Yes