Task: Program Execution
Input (English): [[-31, -36, 50], [-45, -10, -20], [49, -47, 50, -26], [39, -11, -24, -49, -17], [-14, -24, 47]]
Output (English): [-1800, 200, -1300, -24, 336]