Input: Head: PersonX finds PersonY's wallet<sep>Tail: to get PeresonY's wallet
Output: Yes