Task: Program Execution
Input (English): [[5, -17, 12], [26, -31], [-8, -26, -2, -1]]
Output (English): [-1020, -806, 416]