Input: Head: dog<sep>Tail: go outside
Answer: Yes