Input: Head: PersonX hangs five<sep>Tail: to land back on the beach
Output: Yes