Task: Program Execution
Input (English): [3, 187, 21, 115, 125, 74, 139]
Output (English): [10, 562, 64, 346, 376, 37, 418]