Task: Program Execution
Input (English): [116, 3, 18, 94, 171, 118, 117]
Output (English): [58, 10, 9, 47, 514, 59, 352]