Input: Head: PersonX accepts PersonY's offer<sep>Tail: amicable
Output: Yes