Task: Program Execution
Input (English): [40, 191, 58, 24]
Output (English): [20, 574, 29, 12]