def sum_list(input_list: list) -> int:
    """
    Sums the values of a list
    :param input_list:
    :return: the sum of the values
    """
    result = 0
    for i in input_list:
        result += i
    return result