Reasoning Protocol:
- Directly implement the requested logic.
