Task: Program Execution
Input (English): [[5, 49, -50], [-50, -28], [-20, 4, 49, -18], [-11, 13, 38, -18], [37, -11, 4, 49], [-45, 29], [16, 48, 17], [-42, 14, -50, -41], [29, -33, 44, -8], [-50, 34, 49, 31]]
Output (English): [-50, 1400, 1440, -684, 4, 0, 768, 29400, -352, -1700]