Task: Program Execution
Input (English): [18, 4, 7, 105, 148, 140]
Output (English): [9, 2, 22, 316, 74, 70]