from typing import List


def PickTheNearestValueFromList(search_list: List[int], search_value) -> int:
    """Picks the nearest value to the provided one.
    """
    return min(search_list, key=lambda x: abs(x - search_value))