Task: Program Execution
Input (English): [9, 57, 171, 47, 166, 165]
Output (English): [28, 172, 514, 142, 83, 496]