Input: Head: if dog<sep>Tail: go out better let
Answer: Yes