Input: Head: carrier<sep>Tail: put the dog inside
Answer: Yes