Task: Program Execution
Input (English): [[-31, 35], [-21, -37, 43, 50], [-36, -38]]
Output (English): [-1085, 1670550, 1368]