Input: Head: PersonX gets behind PersonY<sep>Tail: to pay for what he bought
Output: Yes