The function returns the last letter of a given string.

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

This code snippet represents the behavior of the function, where `x` is the input string and `x[-1]` returns the last character of the string.