Input: Head: PersonX goes shopping ___<sep>Tail: directed
Output: Yes