Input: Head: PersonX accepts PersonY's offer<sep>Tail: to pay money
Output: Yes