Task: Program Execution
Input (English): [171, 31, 1, 119]
Output (English): [514, 94, 4, 358]