Task: Program Execution
Input (English): [99, 147, 137, 172, 103, 2, 40]
Output (English): [298, 442, 412, 86, 310, 1, 20]