Task: Program Execution
Input (English): [40, 102, 112, 141, 55, 101]
Output (English): [20, 51, 56, 424, 166, 304]