Task: Program Execution
Input (English): [[31, -46, -23, 33, 27], [15, 46, 16, -50], [42, 26, -1], [-37, 31, -18], [45, 22, -50]]
Output (English): [-635283, 15, -1, -1147, 45]