Task: Program Execution
Input (English): [[21, -50, 30], [5, -28, -20, 6], [43, -44, 27], [-45, 24, -24, -6, -10], [39, -2, 40, 29, -8], [-33, 4], [35, -18, 7, -8], [20, -40]]
Output (English): [21, 5, 1161, -45, 1131, -33, 245, 0]