Task: Program Execution
Input (English): [1, 162, 167, 1, 121, 123]
Output (English): [4, 81, 502, 4, 364, 370]