The function returns the first character of the given input string.
[CODE]: 
```python
def f(x):
    return x[0]
```