Input: Head: cashier<sep>Tail: thank customer
Answer: Yes