Task: Program Execution
Input (English): [2, 112, 31, 171, 17, 64, 79]
Output (English): [1, 56, 94, 514, 52, 32, 238]