Task: Program Execution
Input (English): [[-36, -42, 31], [-31, -30], [-46, 37, 13], [46, -9, 38, -12, -7]]
Output (English): [31, -31, 481, 63]