The function capitalizes the first letter of the input string and leaves the rest unchanged.

[CODE]:
```python
def f(x):
    return x.capitalize()
```

This code uses the `capitalize()` method in Python, which capitalizes the first letter of a string and leaves the rest unchanged.