Task: Program Execution
Input (English): [[-20, 4, 31], [-38, -1, 8, 13, 12], [21, 30, 46, -11], [50, -29, -38, -3], [-47, -21, 14, 23], [-3, -27, 37, -50]]
Output (English): [31, -13, -231, 87, 22701, 2997]