Task: Program Execution
Input (English): [[47, -38, 40, 17], [8, 39, -24], [12, -50]]
Output (English): [799, 39, 0]