Task: Program Execution
Input (English): [102, 187, 18, 6, 38]
Output (English): [51, 562, 9, 3, 19]