Task: Program Execution
Input (English): [12, 5, 83, 77, 79, 182, 165]
Output (English): [6, 16, 250, 232, 238, 91, 496]