Task: Program Execution
Input (English): [[7, -17, 16], [-3, 39, 28], [6, -2, 27, -9, 31], [35, -28, 48, 49, -29], [17, -47]]
Output (English): [-119, -117, -7533, -49735, -799]