Task: Program Execution
Input (English): [[39, -46], [45, 18, 26], [20, 49, -8, 29], [-5, 20, 7]]
Output (English): [39, 45, 1421, -35]