Task: Program Execution
Input (English): [174, 58, 162, 151, 1]
Output (English): [87, 29, 81, 454, 4]