Input: Head: restaurant table<sep>Tail: dining
Answer: Yes