Task: Program Execution
Input (English): [8, 16, 45, 48, 51, 6]
Output (English): [4, 8, 136, 24, 154, 3]