The function takes a given input string and reverses its characters.

[CODE]: 
```python
def f(x):
    return x[::-1]
```