def list_sum(num_list):
    outer_sum = 0
    for sub_list in num_list:
        inner_sum = 0
        power = 1
        for digit in sub_list[::-1]:
            inner_sum += power * digit
            power *= 10
        outer_sum += inner_sum
    return outer_sum