Task: Program Execution
Input (English): [7, 12, 3, 18, 17]
Output (English): [6, 10, 0, 14, 12]