Task: Program Execution
Input (English): [[-47, 20, 2], [-2, 33, 8], [-10, -1, 2, -50], [35, 37]]
Output (English): [-47, 33, -1, 1295]