Task: Program Execution
Input (English): [[0, -38, 49], [24, 27, -46, 18, 32], [-30, 1, 42, -31], [6, -41, 41, -42, 50], [-31, -27, 14, 17, 40]]
Output (English): [49, 27, -31, -1681, 14229]