Task: Program Execution
Input (English): [107, 113, 29, 4, 55, 104, 106]
Output (English): [322, 340, 88, 2, 166, 52, 53]