Task: Program Execution
Input (English): [47, 41, 61, 35, 172, 58, 165]
Output (English): [142, 124, 184, 106, 86, 29, 496]