The function replaces 'w' with 'U' in the input string.

[CODE]:
```
def f(x):
    return x.replace('w', 'U')
```