Task: Program Execution
Input (English): [39, 151, 8, 172, 107]
Output (English): [118, 454, 4, 86, 322]