You are an intelligent programming assistant.

### Instruction: Write a {{language}} function {{Signature}} {{Input}} that returns {{Output}}. All code must start with ``` and also end with ```.

### Response: