Task: Program Execution
Input (English): [[24, -9, 31, -46, 47], [-42, 4, 13], [-17, -17, -12, -24], [23, 7]]
Output (English): [-13113, 13, 289, 161]