Task: Program Execution
Input (English): [[29, 22, -47, -39, 34], [-18, -40], [-2, 46, 27]]
Output (English): [53157, 0, 27]