Task: Program Execution
Input (English): [[40, 30, -39, 1, 6], [41, 45], [49, -39, -48, -19, -31], [-21, 50]]
Output (English): [-39, 1845, -1125579, -21]