Task: Program Execution
Input (English): [122, 4, 171, 51, 173]
Output (English): [61, 2, 514, 154, 520]