Input: Head: PersonX fulfils PersonX's needs<sep>Tail: collect the reward
Output: Yes