Input: Head: PersonX carries the can<sep>Tail: to set the can down
Output: Yes