Task: Program Execution
Input (English): [40, 112, 29, 107]
Output (English): [20, 56, 88, 322]