Input: Head: carrier<sep>Tail: put pet
Answer: Yes