from typing import Dict
from typing import List


def set_user_defined_ints(sia: Dict[str, int], ints: List[int]) -> Dict[str, int]:
    """Set the user-defined integer values for the user-defined calculations.

    :param sia: the similar item assessment dict.
    :param list ints: the list of integer values.
    :return: sia; the similar item assessment dict with updated integer values.
    :rtype: dict
    """
    for _idx in [16, 17, 18, 19, 20]:
        _key = list(sia.keys())[_idx]
        try:
            sia[_key] = int(ints[_idx - 16])
        except IndexError:
            sia[_key] = 0

    return sia