The function returns the input string if it is an uppercase letter and an empty string for all other inputs.

[CODE]: 
```
def f(x: str) -> str:
    if x.isupper():
        return x
    else:
        return ""
```