Task: Program Execution
Input (English): [[31, 47, -5], [-10, -35, -30, 34, 22], [47, -22, -10, -14, 2], [50, 36, 2], [-47, -34, -23], [42, -7], [-5, 34, 9], [-46, 43, 47, 9, 49], [12, -13, -48], [-50, -21, 44]]
Output (English): [0, 224400, -6160, 3600, -34, 42, 34, -46, -576, -2200]