Task: Program Execution
Input (English): [105, 200, 142, 14, 197, 30, 31]
Output (English): [316, 100, 71, 7, 592, 15, 94]