# -*- coding: utf-8 -*- """ Created on Wed Dec 12 15:15:40 2018 @author: Angelo """ [5,8,19,9,12,5,7] -> 65 [8,19,9,12,5,7] -> 60 [19,9,12,5,7] -> 52 [9,12,5,7] -> 33 [12,5,7] -> 24 [5,7] -> 12 [7] -> 7 [] -> 0