Input: Head: graduation cap<sep>Tail: Wear on head
Answer: Yes