Task: Program Execution
Input (English): [2, 47, 114, 46, 174]
Output (English): [1, 142, 57, 23, 87]