The function reverses the input string.
[CODE]:
```python
def f(x):
    return x[::-1]
```