Input: Head: PersonX accepts PersonY's offer<sep>Tail: shakes hands
Output: No