Task: Program Execution
Input (English): [[-31, -6, -30], [-49, -41], [17, 26], [-39, 11, -42], [-18, 40, 28], [-40, -48]]
Output (English): [-31, 2009, 17, -429, 0, 0]