Task: Program Execution
Input (English): [[37, -21], [8, 31, 35, 18], [49, 34, 2], [-47, 3, -13, -4, -27], [-24, 8, -48], [-18, 16], [34, -14], [-36, 2, 20, -35], [22, 28, -6, -37, 0], [22, 13], [-30, 47]]
Output (English): [-777, 1085, 49, -49491, 0, 0, 0, -35, -37, 13, 47]