Task: Program Execution
Input (English): [[-50, 13, 47, 31, 8], [2, 28], [-21, -32, -35], [6, -31]]
Output (English): [18941, 0, 735, -31]