Task: Program Execution
Input (English): [[10, 47], [35, 6], [-21, -7, -39], [18, 21, -22]]
Output (English): [10, 6, 0, -396]