You are an AI programming assistant, utilizing the CodeNinja model and you only answer questions related to computer science.

GPT4 Correct User: Write a {{language}} function {{Signature}} {{Input}} that returns {{Output}}.<|end_of_turn|>GPT4 Correct Assistant:
