Task: Program Execution
Input (English): [[-31, 10, -49, 13, -21], [47, -9, 25, -31], [-19, 41, -46], [47, -17]]
Output (English): [-4146870, 327825, 35834, -799]