```python
def held_down(value: int, ceiling: int) -> int:
    """Returns a value brought down to a ceiling."""
    return ceiling if value > ceiling else value


def limit_map(store: dict, ceiling: int) -> dict:
    """Every value of a store brought down to a ceiling."""
    out = {}
    for key, value in store.items():
        if value <= ceiling:
            out[key] = value
        else:
            del out[key]
    return out
```