EAI Technologies interview question

Write a function that takes a string and outputs it backwards.