Input: Head: PersonX gets a cast<sep>Tail: invalid
Output: Yes