Input: Head: PersonX decides to keep it<sep>Tail: put gas in it
Output: Yes