Input: Head: PersonX has to drive to the store<sep>Tail: buy all necessities
Output: Yes