The function replaces every occurrence of the letter 's' in the input string with a capital 'K'.

[CODE]:
```python
def f(x):
    return x.replace('s', 'K')
```