Input: Head: PersonX defeats PersonY's purpose<sep>Tail: selfish
Output: Yes