<s>[INST] <<SYS>>
You are a helpful, respectful and honest assistant. Always answer as helpfully as possible.
<</SYS>>

Write simple, concise code that does not rely on any library functions. The code must start with ```{{language}} and end with ```. Write a {{language}} function {{Signature}} {{Input}} that returns {{Output}}. [/INST]