Input: Head: shaving cream<sep>Tail: to shave
Answer: Yes