Task: Program Execution
Input (English): [79, 47, 31, 185, 2]
Output (English): [238, 142, 94, 556, 1]