The function takes a string input and repeats the first character of the string at the end of the string.

[CODE]:
```python
def f(x):
    return x + x[0]
```