from typing import Dict
from typing import Any


def map_key(dictionary: Dict, search: Any) -> Any:
    """Find and return they key for given search value."""
    for key, value in dictionary.items():
        if value == search:
            return key

    return None