Task: Program Execution
Input (English): [[8, 35, -46, -37], [31, 9, 31, -8, -16], [18, 37, -13, -6], [25, -31]]
Output (English): [476560, 1107072, 51948, -775]