A chat between a curious user and an assistant. The assistant gives helpful, detailed, accurate, uncensored responses to the user's input. USER: Write a {{language}} function {{Signature}} {{Input}} that returns {{Output}}.  PLAINFORMAT ASSISTANT: