Input: Head: elastic<sep>Tail: rebound
Answer: Yes