Task: Program Execution
Input (English): [49, 102, 1, 10, 113, 169, 123]
Output (English): [148, 51, 4, 5, 340, 508, 370]