Task: Program Execution
Input (English): [[-17, 47, -2], [-19, -50], [-34, -31]]
Output (English): [1598, 950, 1054]