Input: Head: judge<sep>Tail: justice
Answer: Yes